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 ?