
Originally Posted by
MrMMills
Why will a script that works as a “user logon” script not work when used as a “computer logon” script with Group Policy?
I have 3 groups of specific PC's that have to print to 3 different groups of specific printers. My users may sign-on at PC-PrinterGroupA one day and PC-PrinterGroupB or PC-PrinterGroupC the next day. That being said I can't use EXAMPLE A. (Below) because the Group Policy needs to be computer specific not user specific. So I tried EXAMPLE B (below) thinking that since the printers that had to be assigned were Computer specific I would use the following Computer Configuration Group Policy setting location:
EXAMPLE A. (Group Policy Location below)
User Configuration
Windows Settings
Scripts
Logon (This VBscript to add printers here works fine but is not computer specific enough)
EXAMPLE B. (Group Policy Location below)
Computer Configuration
Windows Settings
Scripts
Startup
(The same VBscript to add printers here doesn’t work at all, but you can see the Group Policy
has been passed down to the computer by using gpresult)