Is there any way to run script before the computer running Windows 7 or 2008 shuts down without using local group policy editor or domain based policy? Regedit tool should be OK if possible.
| ||||
|
feedback
|
|
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown this is the location I think you are looking for. | |||||||||
feedback
|
regeditwould do is directly manipulate the registery keys that the local security policy or group policy consoles would. I recommend using those tools instead. – MDMarra Jan 28 at 17:22