+ 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
    505
    Thank Post
    101
    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
    15,816
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    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
    505
    Thank Post
    101
    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,249
    Thank Post
    110
    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
    505
    Thank Post
    101
    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
    15,816
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    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,573
    Thank Post
    228
    Thanked 851 Times in 730 Posts
    Rep Power
    294
    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,325
    Thank Post
    622
    Thanked 1,577 Times in 1,414 Posts
    Rep Power
    413
    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,752
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    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
    5,866
    Thank Post
    574
    Thanked 998 Times in 770 Posts
    Blog Entries
    15
    Rep Power
    461
    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.405546, -0.510212
    Posts
    8,748
    Thank Post
    221
    Thanked 2,626 Times in 1,936 Posts
    Rep Power
    778
    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,703
    Thank Post
    3,235
    Thanked 1,043 Times in 965 Posts
    Rep Power
    363
    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
    5,866
    Thank Post
    574
    Thanked 998 Times in 770 Posts
    Blog Entries
    15
    Rep Power
    461
    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
    420
    Thank Post
    72
    Thanked 40 Times in 36 Posts
    Rep Power
    17
    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
    Location
    Melbourne
    Posts
    958
    Thank Post
    12
    Thanked 280 Times in 214 Posts
    Blog Entries
    1
    Rep Power
    174
    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
  •