Link to home
Start Free TrialLog in
Avatar of j8547
j8547

asked on

Login Script

I am trying to create 1 login script for all our office. All seems to be workign at the moment just not sure how to add the printers as i am not sure i can do it via groups.

anyway I have just moved all printers from an old 2003 server to a new 2008 server. Obviously the name has changed. Is there anyway to work around going to each workstation and manually re-adding the printer under the correct server name.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of xDUCKx
xDUCKx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you just want the server name change, you can just add a DNS pointer from the old server name to the new.
Avatar of j8547
j8547

ASKER

I was looking for something like an if statement. If the mapping has this server name change it to this one. Can this be done for printers in the login script
If the old server is off line, then you can just do the DNS thing and you do not have to change anything for your users.

I have used this successfully on several occasions.

If you want to change the actual printer mapping, you will have to do a call to WMI to read the printer current and then do a remove and remap at that time.