+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
Wireless Networks Thread, Im being silly............ in Technical; I've just re-written a few logon scripts.....both a .bat and .vbs file. The logon script applies perfect on my computer ...
  1. #1
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60

    Im being silly............

    I've just re-written a few logon scripts.....both a .bat and .vbs file.

    The logon script applies perfect on my computer ONLY for some reason......but if i go to another pc or laptop nothing, I know this is a silly problem!!

    any ideas?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    What does the script do?

  3. #3

    Join Date
    Mar 2007
    Posts
    1,831
    Thank Post
    89
    Thanked 311 Times in 239 Posts
    Rep Power
    89
    could we see it? my guess is that it will have a local reference on it.

  4. #4
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    Maps network drives

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    Please can we see the code as there could be variations in code.

  6. #6
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    Here we are, bog standard it is:



    @echo off
    Net Use I: \\shackleton\IT
    Net Use H: \\shackleton\Home\%username%
    Net Use Y: \\yoda\data
    Net Use P: \\shackleton\ReceptionPlasma
    Net Use S: \\skinnerssims\SIMS
    Net Use G: \\shackleton\UTILS
    Net Use M: \\shackleton\MediaShared

  7. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    change it to, it should work then. You will need to use the full DNS name.

    Code:
    @echo off
    Net Use I: \\shackleton.domain.local\IT
    etc....
    Another option would be to use the IP address instead of the server name.

  8. #8
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    I've never had todo that before.


    Ian.

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    you will now becuase of the trust i am in a forest with 10 domains and we have to do it.

    you might also have to set forwarding DNS servers

  10. #10
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    Quote Originally Posted by FN-GM View Post
    change it to, it should work then. You will need to use the full DNS name.

    Code:
    @echo off
    Net Use I: \\shackleton.domain.local\IT
    etc....
    Another option would be to use the IP address instead of the server name.
    Nope, didnt work.

    Ian.

  11. #11


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,697
    Thank Post
    352
    Thanked 803 Times in 718 Posts
    Rep Power
    348
    Take the echo off, and run the script visibly on a workstation other than your own.

    If your default dns suffix is set correctly you shouldn't need the full name.

  12. #12
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    932
    Thank Post
    37
    Thanked 135 Times in 115 Posts
    Rep Power
    41
    Where does teh script run from?

  13. #13
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    I've gone onto a laptop, logged on as me..........

    I run the batch locally and runs fine but still not applying when logging on

    (and yes I have put it all in the AD and GP etc)

  14. #14


    Join Date
    Sep 2008
    Posts
    1,806
    Thank Post
    332
    Thanked 262 Times in 214 Posts
    Rep Power
    120
    Have the drive letters already been assigned for something else on other machines? Maybe from an old script?

    EDIT: Ignore me - updated whilst replying

  15. #15
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    nope, no network drives are connected or anything, no old ones.

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

Similar Threads

  1. Silly Keyboard Issue
    By ndavies in forum Hardware
    Replies: 8
    Last Post: 11th April 2008, 02:31 PM
  2. Silly Wii
    By alonebfg in forum General Chat
    Replies: 17
    Last Post: 12th December 2006, 11:28 AM
  3. Ah Bugger, that was silly of me....
    By mrforgetful in forum Windows
    Replies: 4
    Last Post: 26th July 2006, 06:07 PM
  4. Two Silly Questions...
    By indiegirl in forum Wireless Networks
    Replies: 11
    Last Post: 18th May 2006, 04:46 PM
  5. I just did a very silly thing...
    By indiegirl in forum Windows
    Replies: 6
    Last Post: 28th February 2006, 10:02 AM

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
  •