Results 1 to 8 of 8
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Calgary, Alberta, Canada
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    W2K Logon Scripts

    Hello:

    I'm looking for help for help creating a very simple logon script that will allow a PC to access a network printer on another W2K machine, the network being P2P. I can install the network printer fine, but I want the users to be logged in as there little "user" selves and print away without knowing a logon name and password.

    I have created .bat files using the net use command in W98, but I'm not interested in mapping the PC with the network printer per se, if that makes any sense - I just want the desired result that if you click through My Network Places and navigate to the PC the printer is installed and enter the appropriate logon information, I can then print to the printer. If there is a better way to do this than a logon script, i.e. creating an identical user account on the target PC, then I'm all ears. Also, if there are any posts here on the lounge that you can point me to, I would appreciate it.

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: W2K Logon Scripts

    You can enable the guest account, but then they will also has access to your shared folders. The "Guest" account requires NO inter action of the user.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  3. #3
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: W2K Logon Scripts

    If the users have the same username and password on both W2K systems then try using

    <pre>NET USE printserverIPC$ /userrintserverusername
    </pre>

    in the login script.

    StuartR

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Calgary, Alberta, Canada
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: W2K Logon Scripts

    That's the thing, aside from admin the user names only exist on each individual workstation (ah, the joys of P2P networking). I have enabled the guest account on the target PC (thanks, Dave - could it have been a more obvious question?) and this has done the trick, although I removed every share I possibly could in advance and am more than a little nervous about this arrangement.

  5. #5
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: W2K Logon Scripts

    Remember that you can password the 'shares' that you need for others to get access to. <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  6. #6
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Calgary, Alberta, Canada
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: W2K Logon Scripts

    Okay, a little redux and follow-up.

    I initially enabled the guest account on the target PC (where the printer is attached). That allowed me to install the network printer on the other desktops just fine, but print jobs just vanished into cyberspace. I then went back and disabled the guest account and created user accounts with the same login and password as the logins for the users attempting to access the printer. That did the trick. Can either of you give me the down and dirty why that occured?

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: W2K Logon Scripts

    Maybe the guest account didn't have access rights to the spool folder.

    To see where this folder is located you can use Start=>Settings=>Printers,
    then File=>Server Properties=>Advanced

    Whilst you are on this screen, make sure that you have enabled the logging of spooler events. You can then look in Event Viewer to see what happened when you tried to print.

    StuartR

  8. #8
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Calgary, Alberta, Canada
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: W2K Logon Scripts

    Sorry for the late reply. I'm now abroad and probably won't get a chance to check this out until the second week of May, but I appreciate the help and will give it a shot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •