Change the default Shutdown / Log Off Option via GPO

KB ID 0000465 

Problem

Out of the box, the default power option presented to your users is shutdown. People with multiple users on their machines, may prefer the log off option to be the default.

Note: You can also set the default option to:

Shutdown
Sleep
Log off
Lock
Restart
Switch User (Unless blocked by other policy then it will revert to shutdown).
Hibernate

 

Solution

1. On your domain controller , Start > Administrative Tools > Group Policy Management Console > Either create a new policy and link it to your targeted COMPUTERS or edit an existing one, then navigate to;

[box]
User Configuration > Policies > Administrative Templates > Start Menu and Taskbar
[/box]

Locate the setting “Change Start Menu power button”.

2. Edit to the required action, i.e. Log off.

3. Then either reboot the clients, wait a couple of hours, or manually run “gpupdate /force” on them.

 

Related Articles, References, Credits, or External Links

Thanks to Seb Cerazy for the feedback

Disable ‘Sleep’ From the Windows Shutdown Button

KB ID 0000851 

Problem

You want to stop your users being able to select the ‘Sleep’ option from the Windows 7 power button via group policy.

Solution

1. On a domain controller Windows Key+R> gpmc.msc {enter} > The Group Policy Management Console will open.

2. Navigate to where you want to create your policy, or edit an existing one,

Note: This is a computer policy, make sure the policy is linked to an OU that contains computers NOT users.

3. Navigate to;

[box]

Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings

[/box]

4. Locate the “Enable “Turn Off Hybrid Sleep” and set to Enable.

5. Locate the “Allow Standby States (S1-S3) when sleeping” and set to Disable,.

Note: There’s also an ‘on battery’ policy if you have mobile clients.

6. Then either reboot the clients, wait a couple of hours, or manually run “gpupdate /force” on them.

Note: With Server 2012 you can force all computers in an OU to refresh group policy.

Related Articles, References, Credits, or External Links

NA

Windows 8 – Add Shutdown to the Start/Metro Menu

KB ID 0000744 

Problem

I wrote an article ages ago about ‘How to shut down Windows 8‘ but what if you simply want a shortcut to save you the hassle, and have that on your start menu?

Solution

1. Press Windows Key+R > In the run box type the following;

[box]
%appdata%MicrosoftWindowsStart MenuPrograms
[/box]

2. In the window that opens > Right click > New > Shortcut.

3. Enter the following

[box]
shutdown /t 00 /s[/box]

4. Call the shortcut ‘Shutdown Computer’ > Finish.

5. To change the icon > Right click > Properties > Change Icon > OK.

6. Select the shutdown icon > OK > Apply > OK.

7. And now the shutdown option is on your start menu.

7. To add shortcuts for Restart, Sleep, or Hibernate, use the following shortcuts;

[box]

TO RESTART;
shutdown.exe -t 00 -r

TO Hibernate;
rundll32.exe PowrProf.dll,SetSuspendState

TO Sleep;
rundll32.exe powrprof.dll,SetSuspendState 0,1,0

[/box]

 

Related Articles, References, Credits, or External Links

NA