Specify the NT AUTHORITY\SYSTEM user 1 again, select Run even if the user is not logged on 2 then check the Run with highest privileges 3 box. Open the task by double clicking on it, as can be seen in the screenshot below, the user has been changed. Our scheduled task is almost ready, we need to configure the task to run with the user not logged in and the highest privileges. The action is added 1, click Apply 2 and OK 3 to create the scheduled task. Go to the Actions 1 tab and click on New 2.Īction, choose Start a program 1, in the Program/script field, enter the path to the shutdown.exe executable: C:\Windows\System32\shutdown.exe 2, specify the following parameters : -s -t 0 -f 3 to configure computer shutdown and click OK 4 to create the action. Now, we are going to add our action, i.e. Select At the scheduled time 1, choose Daily 2 and configure the execution time 3 (here 8:00 p.m.) and click on OK 4 to create the trigger. when it runs, go to the Triggers tab 1 and click on the New button 2. We will now configure the triggers of the scheduled task, i.e. On the General tab, name the task 1 and indicate the user NT AUTHORITY\SYSTEM 2. In the central area, right click and click go to New 1 and click on Scheduled task (at least Windows 7) 2. Go to the following location: Computer Configuration / Preferences / Control Panel Settings / Scheduled Tasks. Name the Group Policy 1 and click the OK button 2 to create the object.Įdit the group policy, which has just been created, right-click on it and click on Edit 1. The second reason, the carbon footprint, it reduces electricity consumption.Ĭreating Group Policy to Shut Down Computersįrom a domain controller, create a group policy on the OU that contains the computers you want to shut down, right-click and click Create a GPO in this domain, and link it here 1.Still related to security, some of the “viruses” run in the evening when there is less activity.Security, if the computers are not turned off, it means that some updates are not applied.Often not lazy, users do not shut down their computers in the evening, which poses “two problems”: In fact, there is no native functionality in Windows to shut down computers, but we will use Group Policy to deploy a scheduled task to Active Directory domain member computers that will shut them down. In this tutorial, I will walk you through how to schedule computers to automatically shut down using Group Policy.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |