AutoIT3(au3)的中文帮助文档
作者:jothui 日期:2008-08-27
windows2008的超级娱乐化不爽(不断更新)
作者:jothui 日期:2008-04-02
awstats 日志流量分析工具
作者:jothui 日期:2007-08-14
windows system tools of Support Tools
作者:jothui 日期:2007-07-06
我的哲学:感悟一生 + 个人日志 (不断更新)
作者:jothui 日期:2006-12-14
pjblog 的bug和不足,不断更新中
作者:jothui 日期:2006-11-20
刘辉的blog(liuhui's blog) 的站内声明
作者:jothui 日期:2006-10-17
WebQQ beta 1.6.12 使用感觉
作者:jothui 日期:2009-06-24
唠叨半天,我要说的其实是webqq,试用了两天,感觉还比较爽,界面清新简洁,没有最让我反感的广告图片,不会无聊的弹出什么新闻窗口,整体页面还蛮让我满意。

...
Tags: qq
windows2008 安全设置-文件安全前提篇(takeown.exe )
作者:jothui 日期:2009-06-17
Tags: windows2008 takeown.exe 安全设置 权限
游标不包括正在修改的表,或该表不能通过此游标更新
作者:jothui 日期:2009-05-27
错误一:
[Microsoft][ODBC SQL Server Driver][SQL Server]在 sys.servers 中找不到服务器 'anywolfs.com'。请验证指定的服务器名称是否正确。如果需要,请执行存储过程 sp_addlinkedserver 以将服务器添加到 sys.servers。
错误二:
[Microsoft][ODBC SQL Server Driver][SQL Server]未将服务器 'anywolfs.com' 配置为用于 DATA ACCESS。
错误三:
[Microsoft][ODBC SQL Server Driver][SQL Server]此游标不包括正在修改的表,或该表不能通过此游标更新。
在asp中如果我使用rs.add和rs.update来添加数据就会报错误三,如果我使用insert into,就不会发生任何错误。在网上搜索半天,发现解决方法挺好用,方法如下:
解决:
如果是直接更换的服务器,那么主机名更换了,以前存在数据库的主机名也需要删除。进入SQL2005查询器
执行:
EXEC select @@servername
EXEC sp_dropserver @@servername
EXEC sp_addserver [new_name], local
第一行是查出老的实例名
第二行是删除老的实例名
第三行是 ‘new_name’ 是新的实例名,也就是当前计算机名,在重启一下sql2005服务,
执行完这一步,这时候如果asp会报错:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]未将服务器 'anywolfs.com' 配置为用于 DATA ACCESS。
需要设置模式,执行:
EXEC sp_serveroption 'anywolfs.com', 'data access', 'true'
这时如果asp遇到:
Tags: sqlserver2005
命令行 重命令administrator
作者:jothui 日期:2009-05-21
如何配置 URLScan 工具
作者:jothui 日期:2009-05-21
安装 URLScan
要安装 URLScan,请访问下面的 Microsoft Developer Network (MSDN) 网站:
有关其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
修改 URLScan.ini 文件
URLScan 的所有配置都是通过 URLScan.ini 文件执行的,此文件位于 %WINDIR%\System32\Inetsrv\URLscan 文件夹中。要配置 URLScan,请在文本编辑器(如记事本)中打开此文件,进行相应的更改,然后保存此文件。
注意:要使更改生效,必须重新启动 Internet 信息服务 (IIS)。一种快速的实现方法是在命令提示符处运行 IISRESET。
URLScan.ini 文件包含以下几节:
- [Options]:此节描述常规 URLScan 选项。
- [AllowVerbs] 和 [DenyVerbs]:此节定义 URLScan 允许的谓词(又称作 HTTP 方法)。
- [DenyHeaders]:此节列出 HTTP 请求中不允许的 HTTP 标头。如果 HTTP 请求中包含此节中列出的 HTTP 标头之一,URLScan 将拒绝该请求。
- [AllowExtensions] 和 [DenyExtensions]:此节定义 URLScan 允许的文件扩展名。
- [DenyURLSequences]:此节列出 HTTP 请求中不允许的字符串。URLScan 拒绝那些包含此节中出现的字符串的 HTTP 请求。
本文将更详细地介绍每一节。
windows组件与相关的组件参数(用于无人值守安装)
作者:jothui 日期:2009-05-06
原文:http://www.s-w-r.com/news_appendix.html
APPPENDIX
Answer Files and UDFs
When Windows NT Workstation or Windows NT Server is installed using the winnt /u:answer_file or winnt32 /u:answer_file command, the options specified in the answer file (Unattend.txt) are applied to the installation.
If the /udf:uniqueness_database_file option is also specified on the winnt or winnt32 command line, the entries in the specified uniqueness database file (UDF) are also applied, overriding entries in the answer file.
For information on editing and using answer files and UDFs, see Chapter 2, "Customizing Setup," of the Windows NT Workstation 4.0 Resource Guide. This Appendix describes the sections and keys used in these files. Additional entries may be listed in the sample Unattend.txt file on the product compact disc.
Information in the answer file is divided into sections. Each section begins with the section name in square brackets, on a line by itself. Each section may contain one or more keys, with associated values. Each key is a character string, recognizable by the Setup program, that controls an element of the configuration to be installed. For example, there is a key to specify the computername, a key to specify whether the primary partition is converted to NTFS, and a key to specify the time zone for the computer.
The same sections and keys are used in the UDFs, provided they are used after text-mode setup. Information that the Setup program uses during text-mode setup can only be specified in the answer file, not in the UDF.
The sections are:
[Unattended]
The keys in this section define the behavior of the Setup program during text mode setup. This section can only be specified in the answer file, not in the UDF.
[OEMBootFiles]
To install onto x86 computers, $OEM$\OEMFILES\TXTSETUP.OEM and all files listed in it (HALs and drivers), must be listed in this section. This section can only be specified in the answer file, not in the UDF.
[MassStorageDrivers]
This section is used to specify SCSI drivers. This section can only be specified in the answer file, not in the UDF.
[KeyboardDrivers]
This section is used to specify keyboard drivers. This section can only be specified in the answer file, not in the UDF.
[PointingDeviceDrivers]
This section is used to specify pointing device drivers. This section can only be specified in the answer file, not in the UDF.
Tags: windows
无人值守snmp自动安装
作者:jothui 日期:2009-05-06
先举例子:
echo "更改windows安装文件的路径"
echo Windows Registry Editor Version 5.00 > c:\Win2003setupPath.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup] >> c:\Win2003setupPath.reg
echo "ServicePackSourcePath"="D:\\anywolfs" >> c:\Win2003setupPath.reg
echo "SourcePath"="D:\\anywolfs" >> c:\Win2003setupPath.reg
regedit /S c:\Win2003setupPath.reg
del /f /s /q c:\Win2003setupPath.reg
echo "生成snmp无人值守安装选项文件"
echo [NetOptionalComponents] > c:\snmp.txt
echo SNMP = 1 >> c:\snmp.txt
echo [SNMP] >> c:\snmp.txt
echo Contact_Name = anywolfs >> c:\snmp.txt
echo Location = anywolfs.com>> c:\snmp.txt
echo Community_Name = anywolfs.com>> c:\snmp.txt
echo Send_Authentication = Yes >> c:\snmp.txt
echo Accept_CommunityName =anywolfs.com:Read_Only >> c:\snmp.txt
echo Any_Host = No >> c:\snmp.txt
echo Limit_Host = LocalHost, anywolfs.com>>c:\snmp.txt
Sysocmgr.exe /i:sysoc.inf /u:c:\snmp.txt
del /f /s /q c:\snmp.txt
echo snmp安装完毕
注册表:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
两个键值是你放置I386的物理路径,比如我的安装所需文件都放置在D:\anywolfs\I386下,那么我就设置成"ServicePackSourcePath"="D:\\anywolfs" ,记住不需要在路径后面再加I386了,系统会自己去识别。
剩下的关于snmp的安装参数,请看下面这段说明:
SNMP Service Parameters
This document explains and maps three related entities:
- SNMP Service Properties, specifically the Agent, Traps, and Security tabs
- HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters registry values
- [SNMP] section of an answer file for use with WUI or SysOCMgr
The service properties are a graphic interface to the registry values. The answer file provides a method for setting the registry values during installation of the service.
To open the SNMP Service Properties, right-click My Computer, select Manage. In the Computer Management console, expand Services and Applications, then select Services. Scroll to and double-click SNMP Service. Three tabs of this property page will be referred to below: Agent, Traps, and Security.
Agent tab
All parameters on the Agent tab set values under the following key:
HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\RFC1156Agent
Tags: snmp
netsh ipsec 的应用
作者:jothui 日期:2009-04-29
Netsh ipsec 的应用(用于 Internet 协议安全的 Netsh 命令)
用于 Internet 协议安全性 (IPSec) 的 Netsh 命令
在 Microsoft 管理控制台 (MMC) 中可以获得“IP 安全策略管理”和“IP 安全监视器”管理单元,而 Internet 协议安全性 (IPSec) 的 Netsh 命令则提供了等价于由这两个管理单元提供的基于控制台的管理和诊断功能。通过使用用于 IPSec 的 Netsh 命令,可以配置和查看静态或动态的 IPSec 主模式设置、快速模式设置、规则和配置参数。
尤其有以下需要时,通过命令行管理 IPSec 非常有用:
- 编写 IPSec 配置脚本。
- 通过配置下列功能来扩展 IPSec 的安全性和可管理性,而这些功能是“IP 安全策略管理”管理单元所不具备的:IPSec 诊断、默认的通讯免除、证书吊销列表 (CRL) 强制检测、IKE (Oakley) 日志记录、日志记录间隔、计算机启动安全以及计算机启动通讯免除。
可以从 Windows Server™ 2003 家族产品的命令提示符下,或 netsh ipsec 环境的命令提示符下运行这些命令。对于在 Windows Server™ 2003 家族产品命令提示符下运行的这些命令,必须先键入 netsh ipsec,然后再按照下面的语法键入命令和参数。
Netsh ipsec static 模式命令
使用 netsh ipsec static 命令,可以执行通过使用“IP 安全策略管理”和“IP 安全监视器”控制台所能执行的管理和监视任务。通过使用这些命令,可以创建、修改和指派 IPSec 策略,而不会立即影响活动 IPSec 策略的配置。
Netsh ipsec dynamic 模式命令
可以使用 netsh ipsec dynamic 命令来显示 IPSec 的活动状态,并立即影响活动 IPsec 策略的配置。这些命令直接配置安全策略数据库 (SPD)。只有当 IPSec 服务正在运行时,使用这些命令对 IPSec 策略进行的更改才能生效。如果 IPSec 服务停止,将放弃动态策略设置。尽管这些命令中的大多数会立即生效,但仍有几个配置命令需要在重新启动 IPSec 服务或重新启动计算机之后才能生效。有关这些命令的详细信息,请参阅 netsh ipsec dynamic set config 命令的语法描述。
警告
- 由于 IPSec 策略代理不会解释 netsh ipsec dynamic 命令,所以必须掌握如何应用 IKE 主模式和快速模式策略,才能有效地使用这些命令。使用这些命令时应当谨慎,因为有可能即使创建了无效的 IPSec 策略配置却不会遇到警告。
注意
- IPSec 的 Netsh 命令只能用来在运行 Windows Server™ 2003 家族产品成员的计算机上配置 IPSec 策略。
要使用命令行来配置运行 Windows XP 的计算机上的 IPSec 策略,请使用 Ipseccmd.exe(该工具在 Windows XP CD 内的 \Support\Tools 文件夹中)。要使用命令行来配置运行 Windows 2000 的计算机上的 IPSec 策略,请使用 Ipsecpol.exe(该工具在“Windows 2000 Server 资源工具包”中)。
- 有关 netsh 的详细信息,请参阅 Netsh 概述和输入 netsh 上下文。
- 有关 Netsh 命令的详细信息,请参阅 Netsh 命令行实用程序。
Netsh ipsec
下列命令可在 ipsec> 提示符下使用,该提示符在 netsh 上下文中是根级提示符。
注意
- 尽管 dump 命令在 ipsec> 提示符下可用,但它是无效的。
若要查看该命令语法,请单击以下命令:
- static
- dynamic
static
ipseccmd.exe说明
作者:jothui 日期:2009-04-29
IPSec 策略可以在本地应用,也可以作为域的组策略的一部分应用于该域的成员。本地 IPSec 策略可以是静态的(重新启动后一直有效)或动态的(易失效)。静态 IPSec 策略被写入本地注册表并在操作系统重新启动后一直有效。动态 IPSec 策略没有被永久性地写入注册表,并且在操作系统或 IPSec Policy Agent 服务重新启动后被删除。
重要说明:本文包含有关使用 Ipsecpol.exe 编辑注册表的信息。编辑注册表之前,一定要知道在发生问题时如何还原注册表。有关如何备份、还原和编辑注册表的信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
注意:IPSec 筛选规则会导致网络程序丢失数据和停止响应网络请求,包括无法对用户进行身份验证。只有当您清楚地了解阻止特定端口对您的环境具有的影响之后,才应将 IPSec 筛选规则作为一种迫不得已的防护措施加以采用。如果您按照本文列出的步骤创建的 IPSec 策略对您的网络程序有不利影响,请参阅本文稍后的“取消指定和删除 IPSec 策略”一节,了解有关如何立即禁用和删除该策略的说明。
确定是否指定了 IPSec 策略
基于 Windows Server 2003 的计算机
在为基于 Windows Server 2003 的计算机创建或指定任何新的 IPSec 策略之前,请确定是否有从本地注册表或通过组策略对象 (GPO) 应用的任何 IPSec 策略。为此,请按照下列步骤操作:
Tags: ipseccmd.exe ipsec ip策略
引用内容


![[Valid RSS] XHTML 1.0 Transitional](images/valid-rss.png)







