Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

TS step (CMD) under diffrent username not running in Windows 10 OSD

$
0
0

I have a step that runs near the very end of TS, just before the complete report.

Its a Command line task (because in command line task you can define "Run this step as the following account") that runs powershell script.

The command dose some things in ADSI, but its besides the point, for troubleshooting I've replaced the command with the following:powershell  –ExecutionPolicy Bypass New-Item c:\PSUser.txt -type file -force

all this should do is place new file in the c:\

It need to be run as a network admin account or as %OSDJoinAccount% Variable

it keep failing.

if I remove tick box for "Run this step as the following account" it works. but for the real function it have to be run as Network Admin.

It worked fine on Windows 7 but not on 8 or 10.

Any ideas ?


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>