connect to \\server computer at login

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve Waha (SW_at_Mail.SpamNot.com)
Date: 07/27/04

  • Next message: David Wang [Msft]: "Re: connect to \\server computer at login"
    Date: Mon, 26 Jul 2004 20:29:59 -0400
    
    

    Is there a way to write a script to run after login that will connect to a
    computer using the computer name (i.e. \\server ) instead of having to
    assign a network drive to a share on the computer?

    I have a script that maps a drive letter to a network share, but it fails on
    login because it can't find the network path.
       net use z: \\server\share password /user:admin /persistent:yes

    After I am logged in I can manually login to that computer like this
    start > run > \\server
    authentication window pops up
    I enter the username and password, and then I am connected.

    I can do this but the office girl can't remember to do this, so I want to
    automate it with a script that runs on start up

    both computers are stand alone (no domain controller). The server runs
    win2k, the client runs xp pro.

    thanks for your help
    -steve waha


  • Next message: David Wang [Msft]: "Re: connect to \\server computer at login"

    Relevant Pages

    • Re: Login Script not working
      ... By default, XP starts in "fast boot" mode, which gives you a login screen ... before it may have finished initializing the network ... ... > I got new dell laptop with windows xp SP 2 pre loaded and norton internet ... We have login script to syncronize the server ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Active Directory performance
      ... One option that mappings not appear is that the following GPO setting isn't configured on Windows XP and higher OS workstations: ... script that is a vbscript file for each user when they login in. ... and it only maps network drives. ...
      (microsoft.public.windows.server.active_directory)
    • Re: WIP: /etc/rc.d/xdm RCORDER problems
      ... > Some of the rc.d scripts you listed above have a `REQUIRE: LOGIN' line. ... as an explample, if inetd must launch a NETWORK, it must be launch BEFORE ... I can't send-pr this. ... ading a simple script I can't manage to put it ...
      (freebsd-current)
    • Re: connect to \server computer at login
      ... I do the same thing for printers at a client office. ... The other way would be to use the GPO Startup.vbs script. ... I have a script that maps a drive letter to a network share, ... login because it can't find the network path. ...
      (microsoft.public.windows.server.scripting)
    • Re: Hacker activity?
      ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
      (freebsd-questions)