+ Post New Thread
Results 1 to 8 of 8
Windows Server 2012 Thread, Migrated from 2003 to 2012R2 - Not always running logon script in Technical; Hi, I've migrated our main AD Server from 2003 to 2012R2 over the half term holidays and everything appears to ...
  1. #1

    Join Date
    Aug 2005
    Location
    Shropshire
    Posts
    292
    Thank Post
    17
    Thanked 11 Times in 8 Posts
    Rep Power
    21

    Migrated from 2003 to 2012R2 - Not always running logon script

    Hi,

    I've migrated our main AD Server from 2003 to 2012R2 over the half term holidays and everything appears to be working just fine other then a intermittent issue with network scripts. I am aware of the network script delay that's been introduced with Server 201R2 / Windows 8.1 but as far as I'm aware that's only an issue if you apply the network drives/mapping/script via Group Policy, and I don't believe it to be the cause of my issue.

    Our logon scripts are being applied to the users from Active Directory Users and Computers settings/profile tab - the users sometimes get all the drives mapped correctly, and sometimes only get their home drive mapped with everything else missing. Sometimes a reboot will bring the missing drives back, sometimes it doesn't. This happens across a range of computers in school and has only started happening since the switch to Server 2012R2.

    The clients are currently Windows XP, which are soon to be updated, hence the reason for migrating the server first to 2012R2

    Has anybody come across this and can point me in the right direction for things to try? All the logon scripts are Bat files, and have migrated over to the new server with no problems during the migration process.

    Many Thanks

    Matt

  2. #2
    Mr_Jiminy's Avatar
    Join Date
    Nov 2011
    Location
    Newcastle Upon Tyne
    Posts
    225
    Thank Post
    22
    Thanked 7 Times in 6 Posts
    Rep Power
    7
    No, used both the conventional and gpo method and both work.
    It reads like the clients are more the issue... Can you not upgrade one client to W7 and test?

  3. #3

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340
    If you have KB943729 installed on your XP clients, you can then map network drives using GPP rather than scripts.

    Is your existing batch file located in NETLOGON or is it hosted in another share?

    If it is in NETLOGON, are you specifying a single server to map the drives, or the domain?

    For example:

    \\CURRICSVR\NETLOGON\file.bat

    \\DOMAINNAME.LOCAL\NETLOGON\file.bat

  4. #4
    Mr_Jiminy's Avatar
    Join Date
    Nov 2011
    Location
    Newcastle Upon Tyne
    Posts
    225
    Thank Post
    22
    Thanked 7 Times in 6 Posts
    Rep Power
    7
    I guess if you test with a batch file method, you could look to slow the script down by adding something like this; ping localhost -n 10

  5. #5

    Join Date
    Aug 2005
    Location
    Shropshire
    Posts
    292
    Thank Post
    17
    Thanked 11 Times in 8 Posts
    Rep Power
    21
    Thanks Guys for the suggestions - the logon script is located within the NETLOGON folder, within ADUC I don't have a path to the actual logon script, I just have the actual script name e.g. staff or student.

    I've also just found a suggestion on one of the Microsoft Forums about setting up 'Always wait for the network at computer startup and logon' option in GPO

    logon script doesn't always run durring logon process

  6. #6

    Join Date
    Aug 2005
    Location
    Shropshire
    Posts
    292
    Thank Post
    17
    Thanked 11 Times in 8 Posts
    Rep Power
    21
    Hi All,

    Following the changes I made last night by setting up the 'Always wait for the network at computer startup and logon' I've been informed that we are STILL having the issue with the script not always running and mapping the correct network drives.

    ??

    Thanks

    Matt

  7. #7

    Join Date
    Aug 2005
    Location
    Shropshire
    Posts
    292
    Thank Post
    17
    Thanked 11 Times in 8 Posts
    Rep Power
    21
    Quick update.... I think I've solved it - I forgot I had some software restriction policy's in place to stop BAT files and VBS files from running, but had put an exception in for the path to the old net logon server - the old server is still up and running for the time being which is possibly why sometimes it would map the drives if it picked up the script from that server.

    I'll see what happens now, but I'm confident that's the fix!

    Thanks

    Matt

  8. #8
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,301
    Thank Post
    80
    Thanked 46 Times in 32 Posts
    Rep Power
    31
    Quote Originally Posted by mattpant View Post
    Quick update.... I think I've solved it - I forgot I had some software restriction policy's in place to stop BAT files and VBS files from running, but had put an exception in for the path to the old net logon server - the old server is still up and running for the time being which is possibly why sometimes it would map the drives if it picked up the script from that server.

    I'll see what happens now, but I'm confident that's the fix!

    Thanks

    Matt
    That ole' gotcha
    Caught me out before too....

SHARE:
+ Post New Thread

Similar Threads

  1. CA migration from 2003 to 2008 R2 server
    By ArijeetNeo in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 7th March 2014, 03:40 AM
  2. Migrate SCCM install from 2008R2 to 2012R2?
    By mrbios in forum Enterprise Software
    Replies: 1
    Last Post: 18th October 2013, 03:28 PM
  3. Replies: 1
    Last Post: 6th July 2010, 03:23 PM
  4. Cross Forest Migration from 2003 to 2007
    By RobD in forum Windows
    Replies: 0
    Last Post: 10th March 2010, 01:40 PM
  5. Migrating DCs From 2003 to 2008
    By techie08 in forum Windows Server 2008 R2
    Replies: 4
    Last Post: 17th November 2009, 01:57 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
  •