-
Notifications
You must be signed in to change notification settings - Fork 0
/
fixeventreg.notes
executable file
·31 lines (21 loc) · 1.29 KB
/
fixeventreg.notes
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
26
27
28
29
30
31
rem From Eytan:
rem This is wat I have in my notes.... let me knoiw if it works
rem added a new registry key to handle righting to eventvwr
rem HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application
rem String Value CustomSD O:BAG:SYD:(A;;0×3;;;AU)
rem Set Permissions to allow Everyone full access
rem example REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d ^%systemroot^%
reg add /f HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application /d "CustomSD O:BAG:SYD:(A;;0x3;;;AU)"
echo HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application [7] > tmp.ini
regini tmp.ini
rem ----------------------------------------------------------
rem HKLM\SYSTEM\CurrentControlSet\services\eventlog
rem HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Securit
rem echo HKLM\SYSTEM\CurrentControlSet\services\eventlog [8 8 8 8] > tmp.ini
rem regini tmp.ini
rem echo HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog [7 7 7 7 ] > tmp.ini
rem regini tmp.ini
rem echo HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security [7 7 7 7 ] > tmp.ini
rem regini tmp.ini
rem echo HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security\Security [7 7 7 7 ] > tmp.ini
rem regini tmp.ini