+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Logon Scripts in Technical; Since Sp3 has been installed on some client laptops, the logon scripts are not working correctly. The mapped drives not ...
  1. #1

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Logon Scripts

    Since Sp3 has been installed on some client laptops, the logon scripts are not working correctly.

    The mapped drives not always being mapped.

    I've tried created them in vbs and use vbs instead of bat files. Still no joy.

    I dont really want to use a gp logon script as the some users have different logon scripts assigned to their username.

    Anyone else experiencing this?
    Last edited by techyphil; 2nd September 2008 at 10:10 AM.

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Please can you post copies of your scripts?

    Z

  3. #3

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16
    Code:
    @ECHO OFF
    
    IF EXIST c:\COMMAND.COM GOTO WIN9X
    
    rem **Windows NT/2000/XP Logon**
    
    :WIN2K
    rem NET USE G: \\SERVER1\Staff /PERSISTENT:NO
    rem NET USE I: \\SERVER1\APPLIC /PERSISTENT:NO
    NET USE O: \\SERVER1\SHARED /PERSISTENT:NO
    NET USE W: \\SERVER1\WORK /PERSISTENT:NO
    
    NET USE R: \\SERVER1\SHARED_FILES /PERSISTENT:NO
    
    NET USE P: \\SERVER2\PUBLIC /PERSISTENT:NO
    NET USE T: \\SERVER2\SME /PERSISTENT:NO
    NET USE S: \\SCH4022-5\ADMINDATA
    REG IMPORT s:\ram.reg
    net time %logonserver% /set /yes
    rem SupportIcon.vbs
    rem netCheck.exe
    rem highContrast.vbs
    rem staffInventory.exe
    
    rem \\server1\netlogon\updateto6334632.exe
    
    rem For Managers ONLY - NET USE U: \\SERVER1\USERS$ /PERSISTENT:NO
    
    rem **Start Network Printer Connection Batch File**
    CALL \\SERVER1\NETLOGON\PRINT-ST.BAT
    
    
    GOTO COMMON
    
    rem **Windows 9x/Me Logon**
    
    
    :COMMON
    NET TIME \\SERVER1 /SET /YES
    
    
    
    IF NOT EXIST C:\COMMAND.COM GOTO END
    
    rem **Routine to force exit from NT Logon Script**
    c:
    cd\windows
    echo.> c:\windows\lmscript.$$$
    
    :END
    Thank You, much appreciated!

  4. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Without wanting to appear pedantic, what makes you sure its SP3?

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    I agree, i can't see SP3 making it act this way.

    Z

  6. #6

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    Someone else (on these forums) reported the same problem and we isolated it down to the way the home shares were shared and redirected.

    If you use \\servername\share\username (this seems to cause problems)

    If you use \\servername\username$ (this seems to work)

    I use the latter method on XP SP3 with no problems!

  7. #7

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16
    Thanks,

    Well I wish it wasnt just a coincidence but it honestly does only affect SP3 machines. Having said that, it is a custom build CD with lots of reg tweeks. It has to be something on that

    I read that sometimes a slow link detection can cause logon scripts not to be executed as well.

  8. #8
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Quote Originally Posted by Michael View Post
    Someone else (on these forums) reported the same problem and we isolated it down to the way the home shares were shared and redirected.

    If you use \\servername\share\username (this seems to cause problems)

    If you use \\servername\username$ (this seems to work)

    I use the latter method on XP SP3 with no problems!
    The subfolder method works too, you just need to make sure things don't go peculiar by having a read for "this folder only" on the folders that have to be traversed.

  9. #9

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,708
    Thank Post
    3,244
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364
    Quote Originally Posted by Michael View Post
    Someone else (on these forums) reported the same problem and we isolated it down to the way the home shares were shared and redirected.

    If you use \\servername\share\username (this seems to cause problems)

    If you use \\servername\username$ (this seems to work)

    I use the latter method on XP SP3 with no problems!
    have had to do that for our mac users and windows clients seem to be fine with it as well.

SHARE:
+ Post New Thread

Similar Threads

  1. Logon scripts
    By mmoseley in forum Windows
    Replies: 1
    Last Post: 23rd December 2007, 11:46 PM
  2. Mac Logon Scripts
    By atfnet in forum Mac
    Replies: 2
    Last Post: 12th September 2007, 06:23 PM
  3. What do you use for your logon scripts.
    By Kyle in forum How do you do....it?
    Replies: 17
    Last Post: 13th October 2006, 07:54 AM
  4. Synchronous logon scripts - FFS!!!
    By SpuffMonkey in forum Windows
    Replies: 8
    Last Post: 28th June 2006, 01:56 PM
  5. God Dam Logon Scripts
    By british-wave in forum How do you do....it?
    Replies: 14
    Last Post: 15th February 2006, 02:28 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
  •