Re: Startup Script to connect to remote share

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi..

it's the bat file what you have typed wrong.. it should be

net use x: \\servername\apps /user:username password

/Jonas

"Jey" <Jey@xxxxxxxxxxxxxxxxxxxxxxxxx> skrev i meddelandet
news:60258444-C853-4FD7-B328-55FD4D6CD0B3@xxxxxxxxxxxxxxxx
Hi there,

I am try to run a startup script ( .bat file ) to coonect to a remote
server
upon startiing up the machine before login on Windows 2003 sp1 box.
this is my .bat file

net use x: \\servername\apps password /user:username

I placed this script in the
c:\windows\system32\Grouppolicy\machine\scripts\startup folder and enabe
it
in GPedit.msc .

It never work for be upon restart ? any ideas what's going on here


.



Relevant Pages

  • Re: Need DTSRUN Utility to complete before proceeding
    ... > Also would like the bat file to fail if the DTSRUN utility fail, ... discerned at the command line prodessor. ... same when run in the scheduler as when they're run on the server under ... If you write a BAT file, ...
    (microsoft.public.sqlserver.dts)
  • Re: Map Drive Question
    ... to do is to run thies bat file befoe login to the machine upon startup. ... trying to find out why the Group policy startup script never run. ... when i restart this server i don't see the map drive X. ... You must go to Active Directory Users and Computers, ...
    (microsoft.public.windows.server.general)
  • Re: bad data from urllib when run from MS .bat file
    ... That should show whether python is seeing the identical input from the server. ... That would say whether line generation chunking on input ... BTW, what command line options are in use to start your interactive session ... Could the .BAT file be seeing a different environment? ...
    (comp.lang.python)
  • Re: R2 folder quotas and allowed space presentation for user
    ... Why not you create a bat file which will let the user know his folder size and the correct error message, and set to run this .BAT file when the user is 85% reaching the quota. ... Microsoft MVP: Windows Server ... drive has size equal to the whole partition where homedirs ... homedirs or they cannot guess what the limit is. ...
    (microsoft.public.windows.server.general)
  • Re: isql tool
    ... when i run the command from the .bat file i get this message: ... Login failed for user 'username'. ... Paulo Faria ...
    (microsoft.public.sqlserver.tools)