I manage a group of about 40 users. I have continually asked them not to shut their computers down, ever - plan and simple; however, there are quite a few that still do, regardless of what I say. Primarily because there are a couple of managers that still tell them to - I suppose because they know better than me!<\/p>\n
Advertisement
This is really inconvenient when trying to work remotely only to be unable to connect. That being said, I know there is a way to disallow this via group policy; however, I am not sure all of the GP settings that need to be configured to facilitate this.<\/p>\n
Advertisement
I do not want them to have the ability to shutdown via the start menu, or logon screen. Nor do I want them to be able to press the button and turn it off. These are all desktops with no batteries.<\/p>\n
I do want them to have the ability to restart though still. The majority are Windows 7 machines and I have some XP machines - I understand there are differences between the GP for each of these OSs.<\/p>\n
Finally, when I do this, I will be able to shutdown if needed still though, using the command prompt right? Thanks!<\/p>\n
If you just need to create a shortcut to everyones desktop using Group Policy you can accomplish this a couple ways. If you are using server 2008 and/ or Windows 7 you can use the section in the group policy called “Preferences”<\/p>\n
you can see there is a place to create a shortcut under,<\/p>\n
User Configuration|Preferences|Windows Settings|Shortcuts<\/p>\n
and copy files<\/p>\n
User Configuration|Preferences|Windows Settings|Files<\/p>\n
If you are accessing from Windows XP or Server 2003 I used to just create a batch file and place it in the:<\/p>\n
User Configuration|Policies|Windows Settings|Scripts|Logon<\/p>\n
Then create a desktop.bat that would read something like this…<\/p>\n
It is also best practice to keep these files located within the Group Policy. But that is your decision.<\/p>","upvoteCount":0,"datePublished":"2010-08-17T05:01:07.000Z","url":"https://community.spiceworks.com/t/group-policy-time-disallow-shutdown-menu-item-and-button/59173/23","author":{"@type":"Person","name":"larrysteele1713","url":"https://community.spiceworks.com/u/larrysteele1713"}},"suggestedAnswer":[{"@type":"Answer","text":"
I manage a group of about 40 users. I have continually asked them not to shut their computers down, ever - plan and simple; however, there are quite a few that still do, regardless of what I say. Primarily because there are a couple of managers that still tell them to - I suppose because they know better than me!<\/p>\n
This is really inconvenient when trying to work remotely only to be unable to connect. That being said, I know there is a way to disallow this via group policy; however, I am not sure all of the GP settings that need to be configured to facilitate this.<\/p>\n
I do not want them to have the ability to shutdown via the start menu, or logon screen. Nor do I want them to be able to press the button and turn it off. These are all desktops with no batteries.<\/p>\n
I do want them to have the ability to restart though still. The majority are Windows 7 machines and I have some XP machines - I understand there are differences between the GP for each of these OSs.<\/p>\n
Finally, when I do this, I will be able to shutdown if needed still though, using the command prompt right? Thanks!<\/p>\n
You are able to disable it in that way: create a group and join the users and then create a GPO: User computer - Administrative template - Start Menu and Taskbar:<\/p>\n