+ 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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59

    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
    15,392
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    What does the script do?

  3. #3

    Join Date
    Mar 2007
    Posts
    1,669
    Thank Post
    72
    Thanked 249 Times in 199 Posts
    Rep Power
    64
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    Maps network drives

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,392
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    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
    15,392
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    I've never had todo that before.


    Ian.

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,392
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    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,657
    Thank Post
    350
    Thanked 789 Times in 710 Posts
    Rep Power
    344
    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
    849
    Thank Post
    32
    Thanked 120 Times in 102 Posts
    Rep Power
    37
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    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,673
    Thank Post
    310
    Thanked 221 Times in 197 Posts
    Rep Power
    107
    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,887
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    59
    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
  •