Can't get subst drives to work under elevated standard account

Alejandro85

Well-known member
Guru
Gold Member
Local time
6:57 AM
Messages
2,536
Location
Buenos Aires
I'm having a problem with this known bug in UAC related with subst and mapped drives and can't find a workaround.

I have a standard user account (NOT in the administrators group) which I use every time and another which is an admin which I use only to elevate processes though UAC when prompted. I'm used to have a drive mapped with the "subst" command to point at a local directory in my hard disk, which is run at each logon with a bat file placed in the startup menu.

Problem is that, whenever I elevate any program with UAC, that program doesn't sees the mapped drive. Moreover, if I try to elevate a program whose executable lies in the subst'ed drive, after prompting for my password it says the .exe I just double-clicked doesn't exists.

Has anyone solved this problem in some "elegant" way? I don't really like to get rid of that drive for convenience, and using the full path to the real file is just a pain.
Thanks!
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Replace it with a hard link or symbolic link? Mklink in Windows

Thanks, but not exactly what I was looking for. Both are quite similar to shortcuts, and the problem is that both are visible to every user in the computer, not like the subst that only gets viewed by the user that created it. Also, both have some problems under Windows and I had a difficult time testing them, so I prefer to stay away from buggy implementations.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top