So we have a VBS script we want to run on our computers and it needs to run under the users context. Normally we would do a Custom Script under the User config, however, I don't want the determination to be the USER that instigates the run, but the computer.
The script suceeds when I run under User config cust script, but fails when done as a Computer config, my guess is that it runs there as the system account.
Unfortunately there's no way under User custom script to select by Computer.
One thought is to convert the script into a .exe and run it as a software installation where you can specify the RUN AS command or potentially the Launch Application Computer config... however, some initial testing isn't yeilding good results on this.
The Computers are AD bound, but spread across over 30 OU's, but I'm betting the OU option on User custom script is going by the OU the User is in and not the Computer which doesn't help us.
Before I jump too much more into random testing theories, is there a better way to approach this?