Re: drive mapping as a service



yeah, it maps the drive in the name of whichever account the bat file runs
in

TimeTraveller


"Phillip Windell" <@.> wrote in message
news:OUa4G3XwGHA.1888@xxxxxxxxxxxxxxxxxxxxxxx
So it will map a drive letter without a user logged in?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"Doug Sherman [MVP]" <nodspamherman@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:ed88KzXwGHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
You're making it too hard. Use persistent: no and Task Scheduler to run
the
.bat file as a start up script.

Doug Sherman
MCSE, MCSA, MCP+I, MVP

"NONU" <NONU@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D7036BB-250E-40B6-BBF6-33FE56E9C85E@xxxxxxxxxxxxxxxx
HI everyone,


i have requirement in my project where we want drive to be permanently
mapped in around 20 windows 2003 server and the server on whihc share
exists
is a unix server and that sahre need to be mapped all these 2003
server.without the actual user logeed in..

i tried to use net use :x \\servername\sharename /persistent:YES and the
i
converted this into a bat file and then into a .exe file and

i tried to run this .exe file as a user defined service but i am not
sure
even if servce is created it starts and then stops.. just wanted to know
if
anyone has the exact reason for y this is happening service starting and
stopping.. elsewaise if anyone has a better solution than what i
thought..


NONU






.



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: Replication question
    ... but i not sure,that support workgroup computers. ... write script or just .bat file to copy original files to mirror ... My understanding is replication needs AD... ... > the destination server in real-time or on a scheduled basis. ...
    (microsoft.public.win2000.advanced_server)