Windows 10: Group policy script on start up or shutdown

Discus and support Group policy script on start up or shutdown in Windows 10 Installation and Upgrade to solve the problem; Hi, I have a bat script to disable Internet explorer, I have tested it and all works ok but now looking to deploy via a gpo, but not sure if I need to... Discussion in 'Windows 10 Installation and Upgrade' started by IneedhelpTL -7027, Apr 6, 2022.

  1. Group policy script on start up or shutdown


    Hi, I have a bat script to disable Internet explorer, I have tested it and all works ok but now looking to deploy via a gpo, but not sure if I need to run in start up scrips or shutdown as the script needs a reboot to take affect?

    :)
     
    IneedhelpTL -7027, Apr 6, 2022
    #1
  2. Allan Mej Win User

    GROUP POLICIES IN WINDOWS 10

    You can change Group Policies by opening Group Policy Editor first. You can open it by following these steps:

    • Log in an administrator account. If you are already logged in as an administrator, proceed to step 2.
    • Press Windows + R to open Run.
    • Type gpedit.msc and press Enter.

    After opening Group Policy Editor, you can now make the necessary changes that you want.

    Should you have more concerns, feel free to post.

    Regards.
     
    Allan Mej, Apr 6, 2022
    #2
  3. Group Policy shutdown script no longer works after upgrade to Win10

    I confirm this issue is real. It's happening to me too. I experimented and determined Group Policy shutdown script NOT being triggered when a SHUTDOWN is invoked. But the shutdown script IS being triggered when a REBOOT is invoked.

    To reproduce this issue, simply do the following:

    - Create a batch file in C:\temp\test.bat

    - Put a single line in the batch file:

    "echo %DATE% %TIME% I was here >> C:\temp\test.log"

    - Save batch file.

    - gpedit.msc

    - Under Computer Configuration ==> Windows Settings ==> Scripts ==> Shutdown, add "C:\temp\test.bat" as a script to be triggered during shutdown.

    - run gpupdate

    - Reboot Windows. Notice the line logged in C:\temp\test.log.

    - Shutdown Windows. Power on the PC. Notice there is no additional line logged in C:\temp\test.log.

    And by the way, I've been working in SW Support and QA in Silicon Valley for years. These unhelpful answers by so called "Support Engineers" that give generic advice without any comprehension of the problem like telling customers to reinstall components,
    check for patches, disconnect all external devices, etc, are a real big annoyance and only degrade the already abysmal reputation of Windows being an unstable buggy OS. These "Support Engineer" answers are only showing people that Microsoft has hired a bunch
    of people who don't understand SW to support their product. Please stop them.
     
    henry.l.lee, Apr 6, 2022
    #3
  4. Group policy script on start up or shutdown

    Couldn't connect to windows group policy service????

    Hi,

    Thank you for posting in Microsoft Community, we appreciate your interest in Windows 10.

    I understand the inconvenience you are facing as with error: Couldn't connect to windows group policy service, we will help you with this issue.

    Do let us know when exactly you received this error code?

    This issue might have occurred due to corrupted user profile, User Profile Service or Group Policy Client service stopped working, or Antivirus software conflicts.

    I suggest you to check with the following and check if it helps.

    Group Policy Client service, this service is responsible for applying settings configured by administrators for the computers and users through the Group Policy component. If the service is disabled
    the settings will be applied and applications and components will not be manageable through Group Policy.

    Step 1: Stop the Group Policy Client service.

    • Press Windows Key + R on the keyboard and type
      services.msc
      , Services window gets opened.
    • Search for Group Policy Client service, right click on it and click on
      Stop.
    • Restart the computer.

    Step 2: Start
    the service and set it to Automatic:

    • Press Windows Key + R on the keyboard and type
      services.msc
      , Services window gets opened.
    • Search for Group Policy Client service, right click on it and click on
      Properties.
    • Start the service, set
      Startup type to Automatic.

    Hope it helps. Reply to the post with an updated status of this issue for further assistance.
     
    Deepika Gowda, Apr 6, 2022
    #4
Thema:

Group policy script on start up or shutdown

Loading...
  1. Group policy script on start up or shutdown - Similar Threads - Group policy script

  2. group policy start menu folders

    in Windows 10 Customization
    group policy start menu folders: OS: windows 10GroupPolicy: Local without domain joinPath to group policy setting: User Configuration/ Administrative Templates / Start Menu and TaskbarSetting name: Remove Documents icon from Start MenuSetting value: EnabledExpectation: In the start menu the small documents...
  3. group policy start menu folders

    in Windows 10 Gaming
    group policy start menu folders: OS: windows 10GroupPolicy: Local without domain joinPath to group policy setting: User Configuration/ Administrative Templates / Start Menu and TaskbarSetting name: Remove Documents icon from Start MenuSetting value: EnabledExpectation: In the start menu the small documents...
  4. group policy start menu folders

    in Windows 10 Software and Apps
    group policy start menu folders: OS: windows 10GroupPolicy: Local without domain joinPath to group policy setting: User Configuration/ Administrative Templates / Start Menu and TaskbarSetting name: Remove Documents icon from Start MenuSetting value: EnabledExpectation: In the start menu the small documents...
  5. Startup scripts and Group Policy Editor

    in Windows 10 Gaming
    Startup scripts and Group Policy Editor: I run a Network Monitor Gadget on my desktop which loads at startup, as well as a VPN. The monitor always starts before the VPN loads, which forces me to shut off the monitor and restart it to correctly show the VPN IP address. Is there some way I can use the Group Policy...
  6. Startup scripts and Group Policy Editor

    in Windows 10 Software and Apps
    Startup scripts and Group Policy Editor: I run a Network Monitor Gadget on my desktop which loads at startup, as well as a VPN. The monitor always starts before the VPN loads, which forces me to shut off the monitor and restart it to correctly show the VPN IP address. Is there some way I can use the Group Policy...
  7. Group policy script on start up or shutdown

    in Windows 10 Gaming
    Group policy script on start up or shutdown: Hi, I have a bat script to disable Internet explorer, I have tested it and all works ok but now looking to deploy via a gpo, but not sure if I need to run in start up scrips or shutdown as the script needs a reboot to take affect?...
  8. Group policy script on start up or shutdown

    in Windows 10 Software and Apps
    Group policy script on start up or shutdown: Hi, I have a bat script to disable Internet explorer, I have tested it and all works ok but now looking to deploy via a gpo, but not sure if I need to run in start up scrips or shutdown as the script needs a reboot to take affect?...
  9. Group Policy shutdown script preventing PC from shutting down

    in Windows 10 Customization
    Group Policy shutdown script preventing PC from shutting down: On my machine, I have a script which shuts a Mac down via ssh. It's been tested and works ok. It doesn't require any input. This script is used on shutdown and is set in local GPO. However, when ever this is set, the PC does not shutdown and simply shows the shutting down...
  10. Group Policy

    in Windows 10 Support
    Group Policy: Hello. I have just had a virus that disabled My Firewall through Group edit. Problem is, I don't have group edit. With the store being broken, its bad. Any suggestions. 43965