Re: Mapped drives while users are logged out?
- From: "gg" <gg@xxxxxxxxxxx>
- Date: Sat, 22 Oct 2005 18:11:00 -0600
Pardon me for jumping in. I need to do something that requires drive
mapping and run as service on XPs
1. So I can ignore the documentation that it can not be used to run batch
file?
the article http://support.microsoft.com/default.aspx?scid=kb;en-us;137890
says
"The Windows NT Resource Kit provides two utilities that allow you to create
a Windows
NT user-defined service for Windows NT applications and some 16-bit
applications
(but not for batch files). "
------------------
If not, what about vbscript file
2. Assuming we can use batch file, once a service is installed by the use of
Instsrv.exe and Srvany.exe, the registry keys updated, can one not user the
service applet to change the user and password used to run the service?
"Luc R" <lucraymondNOSPAM@xxxxxxx> wrote in message
news:F7946F84-1816-45D5-814A-6723786BB61F@xxxxxxxxxxxxxxxx
>
> it's possible, you can use SRVANY.EXE to run any program as a service.
>
> So you create a batch file which will look like this:
>
> @echo off
> net use K: \\servername\sharename <password> /user:<username>
> <applicationname.exe>
>
>
> then program srvany to run the batch file. It should work
>
> read this to know how to use SRVANY.EXE (which is free in the res kit)
> http://support.microsoft.com/default.aspx?scid=kb;en-us;137890
>
>
>
>
> --
> Luc R
> MCSE/MCDBA
>
> http://www.woxxom.com
>
>
> "Matt Gibson" wrote:
>
>> Hey everyone!
>>
>> I doubt this is possible, but we're dealing with another application
>> provider who doesn't seem to know what they're doing. They've got an
>> application running on one of our servers that needs to access a mapped
>> drive. However...this program is running as a service. While there's a
>> user logged in, it runs fine, as the mapped drive is visible. However,
>> as
>> soon as the user logs out, it starts bombing, because it can't see the
>> mapped drive anymore.
>>
>> Sadly enough, the program doesn't support UNC paths, so we can't do it
>> that
>> way. It wants to see a drive letter, and there's no way around this.
>>
>> So, is there anyway to give a service a mapped drive?
>>
>> Thanks!
>>
>> Matt Gibson - GSEC
>>
>>
>>
.
- Prev by Date: enable shadow selectively?
- Next by Date: Re: Office 2000 stopped working after 4 days
- Previous by thread: enable shadow selectively?
- Next by thread: Windows Hosting
- Index(es):
Relevant Pages
|