http://www.cnblogs.com/zmc/p/3373812.html <script type="text/javascript"> var obj = new ActiveXObject("WScript.shell"); var MachinePath = "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\…
转自:http://blog.csdn.net/u014680513/article/details/51005650 # script to register Python 2.0 or later for use with win32all# and other extensions that require Python registry settings## written by Joakim Loew for Secret Labs AB / PythonWare## source:#…
尝试创建自定义事件日志时,将会收到“Requested registry access is not allowed(不允许所请求的注册表访问权)”错误消息 EventLog.CreateEventSource() 如果以普通用户身份登录计算机,并尝试使用 Microsoft Visual Studio .NET 创建自定义事件日志以注册事件,可能会收到以下错误消息: An unhandled exception of type 'System.Security.SecurityExceptio…
以前写过一篇博文"MS SQL 日志记录管理",里面介绍了如何设置SQL Server的错误日志的最大归档数量,如果在SSMS的UI界面设置,可以从"Management"-> "SQL Server Logs" 右键单击选项"Configure" 去设置错误日志的个数,如下所示: 如果里使用脚本设置,如下所示,这个脚本也能实现修改最大错误日志数量的功能 USE [master]; GO EXEC xp_in…