Getting services to see 'subst' drives



I need a service running on an XP Pro SP3 box to access a drive letter which
is created using subst. However I can't find any way to set this up; I think
subst setups are limited to the session they're created in, is that right?
I've tried putting the command in HKLM Run, boot time scheduled task, logon
time scheduled task, and setting the service to run as my user account &
trying an HKCU Run task, but none of that seems to get executed/affect the
session created for the service.

I've also tried sharing the folder on the network and setting a persistant
connection to it instead of using subst, but that didn't work either.

Any advice? If it's not possible, i.e. there's no way to set up the
environment in which a service runs, I guess I'll just create an extra
partition and name it properly instead of using subst...

Thanks in advance,
Andy


.



Relevant Pages

  • Re: bug in Win-XP-Pro with flash-drive and subst
    ... this is not a unique problem to SUBST. ... letter and no drive letter when such device is unplugged. ... > and create a shortcut for cmd-window. ...
    (microsoft.public.windowsxp.general)
  • Re: Conflict between Substd drive and USB storage devices
    ... I use subst to map the G: ... >assigns the drive letter that subst is using to the external device. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: bug in Win-XP-Pro with flash-drive and subst
    ... I pretty much expected that the problem was not unique to SUBST. ... > drive letter and no drive letter when such device is unplugged. ... >> and create a shortcut for cmd-window. ... then maybe deleting that registry ...
    (microsoft.public.windowsxp.general)
  • Re: DCOM objects not found & Sharing error on SUBST drive
    ... Thanks again, Roger. ... the sefvice is not using some hard coded drive letter. ... only on my development environment: I run and test several versions of the ... same system, and to swap versions I run it from a SUBST drive, and change ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Getting services to see subst drives
    ... it up for the service's session. ... which is created using subst. ... scheduled task, logon time scheduled task, and setting the service to run ... as my user account & trying an HKCU Run task, but none of that seems to ...
    (microsoft.public.windowsxp.security_admin)