Take the 2-minute tour ×  I have two Windows services,
"ServiceA" and "ServiceB". Each service runs under the user
names "UserA" and "UserB" respectively, and in all other
respects the services are identical (separate instances of the
same service).  What I would like to be able to do is set up
mapped drives so that UserA's Z: drive points to a network share
(\FileServer\ServiceAFiles), and UserB's Z: drive points to a
different share (\FileServer\ServiceBFiles). I can't configure
the services separately; wherever I point one service to look
for files, that is where the other will look as well, so setting
up a Z: and a Y: drive is impossible.  I tried setting up mapped
drives that "reconnect at login," but the services can't see the
drives, so it seems like the services don't do a "traditional"
login. Google tells me the only way to do this is by changing
the source code of the service so that it creates a mapped drive
when it starts up. Unfortunately, the service is from a third-
party and I don't have access