GeekBryanW
IS-IT--Management
I have created a script that installs the different Microsoft Office applications. Whether app A installs depends whether the computer is a member of group A. If it is, app A is installed. If the installation is successful the computer account is removed from group A and added to group A-Success. If it failed the computer account is removed from Group A and add to group A-Failed.
Everything works perfectly if I manually run the script. But if I run the script as a startup script in a GPO, the remove seems to work, but the add does not. I created a trace log and it is definitely entering my Group_AddMember function, but it is not doing the actual add.
Is there some difference in permissions between running it manually vs as a startup script.
Everything works perfectly if I manually run the script. But if I run the script as a startup script in a GPO, the remove seems to work, but the add does not. I created a trace log and it is definitely entering my Group_AddMember function, but it is not doing the actual add.
Is there some difference in permissions between running it manually vs as a startup script.