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.

in progress 0
S S 4 months 2021-02-11T19:26:15+05:30 2 Answers 137 views Beginner 0

Answers ( 3 )

    0
    2021-02-22T13:39:36+05:30

    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 -> 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/

Leave an answer

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