SCCM to run Powershell 2 scripts elevated
We are in process of working on deploying Windows 2008 R2 using SCCM 2007 and having issues with Powershell scripts failing to run due to elevated priviledges. The scripts are setting system parameters and installing features. Need to know how to execute the task that runs the powershell scripts.
November 3rd, 2010 2:25pm

What types of errors are you receiving? Can you post the errors from the SMSTS.Log? Also, the MDT Extensions for ConfigMgr can help you with installing Features during OSD - it may be worth a look. Greg Greg Ramsey Microsoft MVP - ConfigMgr Dell, Inc.
Free Windows Admin Tool Kit Click here and download it now
November 3rd, 2010 5:27pm

Just a clarification please, in which phase you are trying to run the PS scripts? During the Windows PE Phase or after the O/S has installed? I'm asking you because PS is not available during the Windows PE Phase due to .Net' inexistence. If you want to run the scripts at a step of the task sequnce after the O/S installation and being in it, then you will have to modify the PS Script execution policy prior to running them or make sure that they run under a local admin' user context. George Simos MVP Configuration Manager
November 4th, 2010 6:13am

Hi, As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as "Answered" as the previous steps should be helpful for many similar scenarios. In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks,Yog Li -- Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
November 12th, 2010 5:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics