forked from sstent/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnableKerbLog.vbs
More file actions
25 lines (20 loc) · 768 Bytes
/
EnableKerbLog.vbs
File metadata and controls
25 lines (20 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'==========================================================================
'
' VBScript Source File -- Created with SAPIEN Technologies PrimalSCRIPT(TM)
'
' NAME: EnableKerbLog.vbs
'
' AUTHOR: Microsoft Corp.
' DATE : 12/14/2001
'
' COMMENT: Script is designed to assist Customers with Enabling Kerberos Logging
' on Multiple Clients.
'==========================================================================
Dim wsObj
Set wsObj = CreateObject("Wscript.Shell")
' Add the LogLevel Value to Kerberos Key in Registry.
On Error Resume Next
WScript.Echo "Enabling Kerberos Logging..."
wsObj.RegWrite "HKLM\System\CurrentControlSet\Control\LSA\Kerberos\Parameters\LogLevel",1,"REG_DWORD"
Set wsObj = Nothing
WScript.Echo "-=[Complete!]=-"