+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
Scripts Thread, Log on script for Network Drives and Printers. in Coding and Web Development; Hi All, Just wondering if anybody has a log-on script for network drives and printers? Every year our teachers move ...
  1. #1
    Koldov's Avatar
    Join Date
    May 2011
    Location
    Bedfordshire
    Posts
    520
    Thank Post
    102
    Thanked 50 Times in 46 Posts
    Rep Power
    39

    Log on script for Network Drives and Printers.

    Hi All,

    Just wondering if anybody has a log-on script for network drives and printers?

    Every year our teachers move year groups and classrooms, plus this year I have moved SIMS and a few other things.

    I am thinking that when all the teachers come back in September I am going to have to access each individual laptop and remap drives and delete and add year group printers etc.

    I know that a log-on script can be made to delete all network drives and printers and then re-add all the necessary ones back and going forward I can combine this with AD to set up year group OU's and put the teacher in the correct one to have it map the correct drives and add the right printers.

    But I have only ever edited the ones we have currently (not teachers just admin) and they are run from the profile as a .bat log-on script not from GPO.

    Kol.

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    What OS are we talking about here? I would use Group Policy Preferences for this.

  3. #3
    Koldov's Avatar
    Join Date
    May 2011
    Location
    Bedfordshire
    Posts
    520
    Thank Post
    102
    Thanked 50 Times in 46 Posts
    Rep Power
    39
    The teachers are all on Windows 7 laptops now, but there are one or two XP ones floating about. Server OS's are a 2003 DC which has traditionally held all the roles and a sister DC which is a standard plain vanilla 2008 server.

    Kol.

  4. #4

    Join Date
    Jul 2006
    Location
    London
    Posts
    1,264
    Thank Post
    111
    Thanked 242 Times in 193 Posts
    Blog Entries
    1
    Rep Power
    74
    I just show them how to add the printers and shared folders they need for themselves. Once.

    Now new staff learn how to do it, either from a colleague or they already know how to do it before they start here. Unless they ask one of my team, in which case we are happy to show them.

  5. #5
    Koldov's Avatar
    Join Date
    May 2011
    Location
    Bedfordshire
    Posts
    520
    Thank Post
    102
    Thanked 50 Times in 46 Posts
    Rep Power
    39
    Quote Originally Posted by FN-GM View Post
    What OS are we talking about here? I would use Group Policy Preferences for this.
    Printer deletion and deployment is a bit flaky...

    Kol.

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Quote Originally Posted by Koldov View Post
    Printer deletion and deployment is a bit flaky...

    Kol.
    Never had any issues at all here.

  7. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,630
    Thank Post
    229
    Thanked 861 Times in 739 Posts
    Rep Power
    297
    Quote Originally Posted by FN-GM View Post
    Never had any issues at all here.
    my experience is it works great 1st time or its really random and fails for no obvious reason

  8. #8

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,679
    Thank Post
    661
    Thanked 1,626 Times in 1,455 Posts
    Rep Power
    422
    Quote Originally Posted by FN-GM View Post
    Never had any issues at all here.
    You must have some voodoo then, seeing all the posts on here relating to issues with GPP and printers.

    Ben

  9. #9


    Join Date
    Sep 2008
    Posts
    1,783
    Thank Post
    329
    Thanked 260 Times in 212 Posts
    Rep Power
    120
    In relation to this, I'm currently trying to bring together our logon scripts (of which we have a few) which map drives based on user groups and I am looking at using GPP instead. I have tested it on a couple of machines here and it seems to work well. Certainly better than my experience with printers. Is GPP reliable & work well for mapping drives or can it be a little flakey?

  10. #10

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,042
    Thank Post
    590
    Thanked 1,032 Times in 791 Posts
    Blog Entries
    15
    Rep Power
    467
    No issues at all here either with group police drive and printer mappings. Works every time without fail, certainly no voodoo in place. Sure as hell wouldn't replace it with a script!

  11. #11


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,035
    Thank Post
    231
    Thanked 2,700 Times in 1,994 Posts
    Rep Power
    792
    Quote Originally Posted by plexer View Post
    seeing all the posts on here relating to issues with GPP and printers.
    Like Synaesthesia and FN-GM, we don't have any issues either. I used the following guide when setting up printers on our network and they get installed without fail.

    dxpetti.com/blog/?p=181

    I wonder if a lot of the problems are caused by users not being given the rights to install or load printer drivers (as per the guide above)?

  12. #12

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,789
    Thank Post
    3,296
    Thanked 1,054 Times in 975 Posts
    Rep Power
    365
    Quote Originally Posted by synaesthesia View Post
    No issues at all here either with group police
    Most likely a typo as no doubt am sure you meant 'group policy' but made me giggle a bit either way

    :-P

  13. #13

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,042
    Thank Post
    590
    Thanked 1,032 Times in 791 Posts
    Blog Entries
    15
    Rep Power
    467
    Nah, I'm just getting silly with old age. Group Police and Dual Cabbageways are two terms that have taking over the real terms in my vocabulary.

  14. #14
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Quote Originally Posted by synaesthesia View Post
    Dual Cabbageways
    Haha, that is brilliant - I won't be able to think of them as anything else now!

  15. #15

    seawolf's Avatar
    Join Date
    Jan 2010
    Posts
    969
    Thank Post
    12
    Thanked 285 Times in 217 Posts
    Blog Entries
    1
    Rep Power
    175
    Quote Originally Posted by Koldov View Post
    Hi All,

    Just wondering if anybody has a log-on script for network drives and printers?

    Every year our teachers move year groups and classrooms, plus this year I have moved SIMS and a few other things.

    I am thinking that when all the teachers come back in September I am going to have to access each individual laptop and remap drives and delete and add year group printers etc.

    I know that a log-on script can be made to delete all network drives and printers and then re-add all the necessary ones back and going forward I can combine this with AD to set up year group OU's and put the teacher in the correct one to have it map the correct drives and add the right printers.

    But I have only ever edited the ones we have currently (not teachers just admin) and they are run from the profile as a .bat log-on script not from GPO.

    Kol.
    Doesn't help you right now, but plan an upgrade to Win2008R2 (or fresh install and migration being better approach) and then you can do it all with GPOs and no scripts required. Some will tell you to go for 2012 R2 instead, but I can't really recommend something that I haven't tested extensively especially when 2008R2 is rock solid.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Can't Log on or join Network
    By steve_nfi in forum Wireless Networks
    Replies: 13
    Last Post: 10th June 2008, 08:08 AM
  2. Log on Scripts
    By button_ripple in forum Scripts
    Replies: 7
    Last Post: 12th March 2008, 06:20 PM
  3. Logging on via Wireless network
    By maniac in forum Wireless Networks
    Replies: 13
    Last Post: 21st July 2007, 09:32 AM
  4. Replies: 1
    Last Post: 26th March 2007, 07:03 AM
  5. Backup Script for NT backup and Robocopy
    By ChrisH in forum Scripts
    Replies: 12
    Last Post: 20th October 2005, 01:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •