Disable Shutdown Event Tracker from Command Line

Posted on

QUESTION :

How can I disable the windows shutdown event tracker from the command line? I’ve seen that I can disable it by editing the registry, but I am hoping there is another way.

Thank you!

ANSWER :

You can save your registry change as a .reg text file and execute it from the command prompt.

From MS:

Requirements
Credentials: Administrators

Tools: Regedit.exe

To export a registry setting to a .reg file
Click Start, click Run, type regedit, and then click OK.
In the console tree, navigate to the registry entry that you want to include in the file.

Add or modify the entry that you want to export to the .reg file.

With the entry selected, on the File menu, click Export.

In the Save in box, navigate to the location for the .reg file.
In the File name box, type a name for the .reg file.
Under Export range, click Selected branch, and then click Save.

Leave a Reply

Your email address will not be published.