Can someone tell me how to run an elevated command prompt via a TS? I have one TS that copies a folder down from the DP to C:, I then want to copy a shortcut from that folder to the public desktop. When I try this manually I get prompted by UAC to grant admin privileges or I can do it via CMD but it has to be an elevated CMD prompt in order to not get the UAC prompt. Is there a way to tell SCCM to run elevated? I see you can run the TS as a specific user, however my account has local admin rights and I still get the UAC prompt.
Thanks,
Mike
Edit: Updated info: Below is the error from the log. Maybe not an elevation problem. It says it can't find the file specified however, I see that the folder was successfully copied to C: (second quote below)
The task sequence execution engine failed executing the action (Copy Webcenter Shortcut) in the group (Helpdesk Apps) with the error code 2147942402
Action output: cuting command line: Run command line
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Can someone tell me how to run an elevated command prompt via a TS? I have one TS that copies a folder down from the DP to C:, I then want to copy a shortcut from that folder to the public desktop. When I try this manually I get prompted by UAC to grant admin privileges or I can do it via CMD but it has to be an elevated CMD prompt in order to not get the UAC prompt. Is there a way to tell SCCM to run elevated? I see you can run the TS as a specific user, however my account has local admin rights and I still get the UAC prompt.
Thanks,
Mike
Edit: Updated info: Below is the error from the log. Maybe not an elevation problem. It says it can't find the file specified however, I see that the folder was successfully copied to C: (second quote below)
Share this post
Link to post
Share on other sites