Re: Printing with GPO



Are you sure the script did not run, or ran but didn't do what you want?
Try adding an "eventcreate" command to your script - this will add an entry
into either the Application or System event logs so you can verify if the
script actually runs or not.

By default, printer connections are user specific, so when you run it as a
"Startup" script, no user is logged on and thus no printer is added.

However, you can add a printer "globally" - for all users - see
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm.

--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders

It is perfectly useless to know the right answer to the wrong question.



"Nextcert" <Nextcert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D6BAB163-4E6F-4725-8D78-3BED2A85423A@xxxxxxxxxxxxxxxx
> We created a GPO printing script to the computer OU as a startup Script
> but
> it did not run. Everything seems to be fine including permission. I can
> run
> the script locally, and it will install the printer for me. What else can
> I
> check regarding this issue. Thanks.


.



Relevant Pages

  • Re: Power Management GPO?
    ... The best thing to do is to redirect the output of stdout and stderr in your script to a text file so you can see what, ... I created a GPO and put the batch file in first as a startup script and when that didn't work I tried it as a logon script. ... A normal user can't change the power settings so a logon script like this won't work either. ... Run powercfg from the command line with a /? ...
    (microsoft.public.windows.group_policy)
  • Re: Xcopy not working in startup script
    ... This is a basic batch file script that I am ... deploying through group policy in the startup script to copy ... it works fine on it's own, but when deployed through group policy it ... the permissions of the computer object elsewhere in the domain. ...
    (microsoft.public.windows.server.general)
  • Re: Ooooopppps. Rights not right...
    ... Use a log in script to call a compiled file stored on a share. ... > because the classid is for per machine instead of per user. ... > you have create two user classes, one is called student; ... > Put this bat file to the computer startup script in the local group policy. ...
    (microsoft.public.windows.server.general)
  • Re: Power Management GPO?
    ... I suspect that the power management subsystem might not be started when the startup scripts runs or the SYSTEM context can't modify it, but I have some ideas about this and will do some testing later on today to work it out. ... I created a GPO and put the batch file in first as a startup script and when that didn't work I tried it as a logon script. ... A normal user can't change the power settings so a logon script like this won't work either. ... I can't remember if all power setting are per machine, but if some are per machine and some are per user then you could split it up into 2 scripts, one startup script and one logon script. ...
    (microsoft.public.windows.group_policy)
  • Re: Xcopy not working in startup script
    ... This is a basic batch file script that I am ... deploying through group policy in the startup script to copy ... I'm deploying it during the ... the permissions of the computer object elsewhere in the domain. ...
    (microsoft.public.windows.server.general)