Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING registry.pol issue in SCCM

  • Thread starter Thread starter Nitin_ted
  • Start date Start date
  • Replies Replies 7
  • Views Views 7K

Nitin_ted

Well-Known Member
Messages
87
Solutions
1
Reaction score
2
Points
8
Please advice, when i send updates from my SCCM. its blocked by GPO (registry.pol), after delete from (c:\windows\system32\grouppolicy\machine) and gpupdate /force to machine i can get updates in my software center. I have 900+ machines, is there a way i can fix this issue?
 
Send a package or use the scripts feature to solve this.
Hi @Garth thanks for response. I found below source to run script, will it works? However i not able to run script in my SCCM console after i add the script in my sccm.

 
Hi @Garth thanks for response. I found below source to run script, will it works? However i not able to run script in my SCCM console after i add the script in my sccm.

Why can't you run in from the console? What error are you getting?
 
after checking everything, my colleague can't its blocked so can't run the ps1. I prepared bat file and lets hope its fixed the issue.
 
Hello @Nitin_ted,

In your command, make sure that Bypass PS execution policy is set, see the example below:
PowerShell.exe -ExecutionPolicy Bypass -File your_script.ps1

Regards,
 
Hello @Nitin_ted,

In your command, make sure that Bypass PS execution policy is set, see the example below:
PowerShell.exe -ExecutionPolicy Bypass -File your_script.ps1

Regards,
I just running normal script from SCCM (below), after enable powershell from SCCM. Is it ok? or do i need to add as you mentioned above?

Remove-Item C:\Windows\System32\GroupPolicy\Machine\Registry.pol
gpupdate /force
 
Back
Top