Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Default behaviour when shutdown button is pressed

$
0
0

Hi,

I have serveral Windows 2003 servers in a 2003 Active Directory. I need that when a user is logged through Remote Desktop to any server, and he press Start, ShutDown, the default action will be log off instead of ShutDown.

I have found that this can be achieved by changing the registry key KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shutdown Setting  from 0 (default - Shutdown) to 1 (Log Off). But the gpo policy setting to do this is not available in Windows 2003, only 2008 and above. So I need to write an adm template to set this value as I need.

But I don't know how. I have tried this code, but the only thing that appears is the folder ShutDown Action at the left of the screen, but no value to change:

CLASS USER
CATEGORY "ShutDown Action"
    POLICY "Default Action"
        PART "defaultaction" DROPDOWNLIST
            KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\"
            VALUENAME "ShutDown Setting"
            ITEMLIST
            NAME "Shutdown" VALUE NUMERIC 0
            NAME "Logoff" VALUE NUMERIC 1
            END ITEMLIST
        END PART
        END POLICY
END CATEGORY

Could you help me to write a valid adm template able to achieve what I need?

Thanks


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>