Script to delete Registry.pol file using SCCM SCRIPT option
Question
Hi,
I need a Script to delete Registry.pol file which can be run on collections using SCCM SCRIPT option.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Hi,
I need a Script to delete Registry.pol file which can be run on collections using SCCM SCRIPT option.
Answers ( 2 )
hi Anoop,
While running the script in console, the parameter is defined. So, even if, I am running the script on collection, I have to mention the computer name.
Also, I tried it on single machine but it didn’t work, the reg.pol file is still present.
Is there any other way to achieve this for mass workstations?
Have you tried to run this script manually on the windows 10 machine abs start troubleshooting from there
You can use sccm run a script option to execute powershell scripts on Windows 10 devices
How to run a script from sccm explained here -> https://www.anoopcnair.com/sccm-run-script-step-by-step-guide/
Powershell script to delete corrupted registry pol file is given below
https://dxpetti.com/blog/2018/cleaning-up-corrupt-registry-pol-files-with-powershell/