Script to delete Registry.pol file using SCCM SCRIPT option



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?

  1. 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 ->

    Powershell script to delete corrupted registry pol file is given below

Leave an answer

Sorry, you do not have permission to answer to this question .