Login Script

Posted on 2012-08-14
Last Modified: 2012-09-21
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?
Question by:j8547
    LVL 13

    Accepted Solution

    Deploying printers via Group Policy:

    You can use Audience Targeting to ensure that appropriate groups get the correct printers.
    LVL 6

    Expert Comment

    If you just want the server name change, you can just add a DNS pointer from the old server name to the new.

    Author Comment

    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
    LVL 6

    Expert Comment

    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.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now