Peter said:
When I exit Windows 2000/XP I can select between "Shutdown" and "Restart".
The default action ist "Shutdown". However when I select "Restart" then Windows
must write something somewhere to inform the computer to do a restart instead of turning off.
Where is this "Do Restart" information written ?
It is written, even if perhaps not used for the current action, so that
whatever you choose this time, that will be the default action next time.
#######################################################################
[HKey_Current_User\Software\Microsoft\Windows\CurrentVersion\Explorer]
"Shutdown Setting"=dword:00000002
; 0x00000001 (01) = Log off <User>
; 0x00000002 (02) = Shut Down
; 0x00000004 (04) = Restart
; 0x00000008 (08) = ?
; 0x00000010 (16) = Stand by (if the computer supports it (ACPI?))
; 0x00000020 (32) = ?
; 0x00000040 (64) = Hibernate (if the computer supports it & ;
support is enabled in 'Power Options' (to
; 'HiberFil.sys')) \
; (If disabling Hibernation support when
; this value is pre-selected, will show
; 'Log off <User>' in the 'Shut Down Windows'
; dialog box.)
; 0x000000?? (??) = Disconnect (from a Server running 'Terminal
; Services')
; To display the 'Shut Down Windows' dialog box, click 'Start'
; and then click 'Shut Down...'.
#######################################################################
--
"... all the loathsome nonsense that goes by the name of patriotism
- how passionately I hate them!"
Please followup in the newsgroup.
E-mail address is invalid due to spam-control.