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 Run SCCM Discovery Script as System

  • Thread starter Thread starter adeptcain
  • Start date Start date
  • Replies Replies 2
  • Views Views 1K

adeptcain

New Member
Messages
2
Reaction score
0
Points
1
I'm trying to use a configuration item in MECM to check for and uninstall PowerShell v2, however the discovery script seems to run as current user regardless of whether the remediation script runs as SYSTEM. Is there a way to get the discovery script to run as SYSTEM so I can get this remediation working?
 
I'm trying to use a configuration item in MECM to check for and uninstall PowerShell v2, however the discovery script seems to run as current user regardless of whether the remediation script runs as SYSTEM. Is there a way to get the discovery script to run as SYSTEM so I can get this remediation working?
How exactly are you running this script?
 
Hi Garth, I've opened signed ps1s into the Discovery Script and Remediation Script fields of a Configuration Item, as shown below.
1698110989946.png
 
Back
Top