+ 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
    552
    Thank Post
    128
    Thanked 56 Times in 48 Posts
    Rep Power
    41

    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,308
    Thank Post
    901
    Thanked 1,797 Times in 1,548 Posts
    Blog Entries
    12
    Rep Power
    466
    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
    552
    Thank Post
    128
    Thanked 56 Times in 48 Posts
    Rep Power
    41
    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,272
    Thank Post
    114
    Thanked 244 Times in 195 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
    552
    Thank Post
    128
    Thanked 56 Times in 48 Posts
    Rep Power
    41
    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,308
    Thank Post
    901
    Thanked 1,797 Times in 1,548 Posts
    Blog Entries
    12
    Rep Power
    466
    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,919
    Thank Post
    231
    Thanked 900 Times in 775 Posts
    Rep Power
    303
    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,610
    Thank Post
    746
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    437
    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,834
    Thank Post
    343
    Thanked 263 Times in 215 Posts
    Rep Power
    121
    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,347
    Thank Post
    611
    Thanked 1,129 Times in 863 Posts
    Blog Entries
    15
    Rep Power
    496
    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,604
    Thank Post
    250
    Thanked 2,898 Times in 2,131 Posts
    Rep Power
    828
    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,975
    Thank Post
    3,523
    Thanked 1,107 Times in 1,014 Posts
    Rep Power
    374
    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,347
    Thank Post
    611
    Thanked 1,129 Times in 863 Posts
    Blog Entries
    15
    Rep Power
    496
    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
    426
    Thank Post
    74
    Thanked 43 Times in 39 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 286 Times in 218 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, 09:08 AM
  2. Log on Scripts
    By button_ripple in forum Scripts
    Replies: 7
    Last Post: 12th March 2008, 07:20 PM
  3. Logging on via Wireless network
    By maniac in forum Wireless Networks
    Replies: 13
    Last Post: 21st July 2007, 10:32 AM
  4. Replies: 1
    Last Post: 26th March 2007, 08:03 AM
  5. Backup Script for NT backup and Robocopy
    By ChrisH in forum Scripts
    Replies: 12
    Last Post: 20th October 2005, 02: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
  •