What's the regedit tweak to not remember the last XP shutdown option? [Resolved]

By default, XP remembers the option that was last selected in the Shut Down Windows screen. Let’s say the next time I reach this screen, I want the default selection to stick to one particular option. Anybody know where the registry key is stored to control this?

[attachment deleted by admin]

I knew this a year ago man!!!

Farrrr now I forget… Sorry :frowning:

Josh

I never use this at all. A couple of years ago I found Steve Gibson’s Wizmo; no installation, just 3 shortcuts: Shut Down, Reboot, Monitor Off. The first 2 are separate from other shortcuts for the obvious reason. Shutdown is just a double-click - 12s - gone.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/36031.mspx

It’s for Windows 2000, but for XP, skip the 0x-part and use only the number after.

Add HKEY_USERS\S-1-5-21-1417001333-329068152-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer in explorer.exe’s blocked section for registry keys, so that it won’t get modified.

I myself have it set to Reboot always, as I use my keyboard to shutdown the computer, and as I’m the only user on this computer, I won’t need to log off.

Cheers,
Ragwing

Thanks Rag, but I think there are 2 problems:

  1. The HKEY_USERS hive represents the current open session of the user being logged in. S-1-5-21-1417001333-329068152-839522115-1003 must be your unique GUID because mine is different
  2. Suppose I navigate to my own GUID hive’s \Software\Microsoft\Windows\CurrentVersion\Explorer\Shutdown Setting → my setting is already current set to the one I wanted: shutdown, which uses the value of 0x2. I’m not sure what you mean “blocked section for registry keys”. If I can figure that part out, I can lock it.

BTW, I don’t know why I would need to skip 0x when I all it is is the hexadecimal value. It shouldn’t be any different from W2K then ???

You should have one that ends with -1003 (I think) :stuck_out_tongue:

Defense+ → Computer Security Policy, find explorer.exe, double-click it, go to Access Right, Protected Registry Keys and at the Blocked Registry Keys-part, you add ‘\Software\Microsoft\Windows\CurrentVersion\Explorer*’.
It’ll prevent explorer.exe from changing the value to something else.

I think I wrote it in decimal, so that’s maybe why I couldn’t write ‘x’.

Oh that! I thought you meant a registry setting, but of course CFP3 can prevent. Only then it’ll probably write an entry to the log every time 88)

Disable Defense+ logging? It’s not necessary after you’ve configured your programs to work without problems.

I found the answer:

http://www.atomicmpc.com.au/forums.asp?s=2&c=21&t=1138:

to a value of zero will do what you want. Look at the options of a shutdown, they order like 1=logoff, 2=shutdown and so on, 0 defaults to shutdown :)

It was right under your nose. You just didn’t realize that the zero value would solve it :slight_smile:

Techically, zero doesn’t work for any particular setting, but since Shutdown was the one I wanted, issue resolved.