About 2,170,000 results
Open links in new tab
  1. How to edit Local Group Policy with a script? - Server Fault

    May 5, 2017 · 0 Great script from Microsoft that goes into more detail on editing registry property values via Powershell using the Set-ItemProperty and other cmdlets. As has been stated, this …

  2. Store GPO Scripts in Netlogon or Policy Folder? - Server Fault

    Apr 28, 2016 · In the GPO, you call the script "powershell.exe" and for the parameters you do -File PathToScript. I like this approach because the GPO files and scripts are in a well known …

  3. Run a PowerShell script once on all computers as admin via GPO …

    Jun 1, 2022 · 2 I have a PowerShell script that I need to run once on all computers in my Active Directory domain. A large number of computers are off at any given time, so a GPO would allow …

  4. Best method for enabling bitlocker via GPO/scripting

    May 6, 2023 · It sounds like your issue is more about troubleshooting GPO scripts than BitLocker. You should start with a basic script that writes some output to the disk. Once you can get that …

  5. group policy - GPO startup script not being ran - Server Fault

    Oct 31, 2014 · The script itself works great, but attaching it to a GPO is giving me a problem. Even after gpupdate /force commands and several restarts I can't get the scripts to run.

  6. windows - Start GPO script as administrator - Server Fault

    May 13, 2019 · In order to run a script (or software installation) with elevated permissions you need to either run it using Computer configuration, which will run as local system, or use group …

  7. How do I execute a powershell script via group policy?

    1 How can I execute a powershell script by means of group policy on a number of machines? The script is signed and will run on the targeted machines when you right-click and select "run with …

  8. Group policy batch script not running on startup - Server Fault

    Oct 15, 2018 · Changing it to run script at logon instead of startup (and linked the policy to the OU storing the users) Enabled 'Run startup scripts asynchronously' Storing the batch file in the …

  9. windows - Script not running on startup for GPO - Server Fault

    Jun 21, 2021 · Then move the logon script out of the Computer Settings section of the GPO and into the User Settings of the GPO. Finally, when you're done testing, you can simply add …

  10. script - How to edit local group policy objects via command line ...

    Jan 23, 2019 · Is there a way to change or edit certain group policies via command line? We are currently installing a lot of PCs based on an image. After the install is done, certain group …