Hi everybody!
I want to add security settings to some printers @ a remote Server...
i figured out to handle this with the psexec command...everything works nearly fine except one thing...
psexec.exe %C4% cmd /C net user USERNAME PASSWORD /add|net localgroup USERGROUP USERNAME /add|subinacl /printer * /grant=USERNAME=M
first step: adding the user >ok
second step: add the new user to an existing group >ok
third step: ad the new user to all printers and allow him to manage documents > not ok
it seems that in the moment the user should be added to the printerobjects the new user isnt completly "build"
is there a possibilty to set some kind of "Wait/Sleep"-function to this whole thing between the localgroup and the subinacl command?
I want to add security settings to some printers @ a remote Server...
i figured out to handle this with the psexec command...everything works nearly fine except one thing...
psexec.exe %C4% cmd /C net user USERNAME PASSWORD /add|net localgroup USERGROUP USERNAME /add|subinacl /printer * /grant=USERNAME=M
first step: adding the user >ok
second step: add the new user to an existing group >ok
third step: ad the new user to all printers and allow him to manage documents > not ok
it seems that in the moment the user should be added to the printerobjects the new user isnt completly "build"
is there a possibilty to set some kind of "Wait/Sleep"-function to this whole thing between the localgroup and the subinacl command?
Comment