![]() |
#1 |
Junior Member
Join Date: Apr 2017
Posts: 2
|
Missing mapped drive letter on elevated Windows 10
I tested my own setup created with NSIS 3.01 on two machines. First on Windows 7 Pro 64Bit and on Windows 10 Pro 64 Bit.
Both use a network share created in a login script with the following command: code: When I test the setup only on windows 7 the Drive N: could selected or entered manually as a Directory. On Windows 10 N: isn't allowed and was not shown in Drive List (only in NSIS, Drive N was shown in Explorer). Is this a known bug or did I miss an Option in my script, which I coundn't found in the help files and forum? The same behavior I could found with the official installer of NSIS 3.01. Here my test script: code: |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
Mapped drives are not necessarily available to elevated processes, this is just how Windows works: https://support.microsoft.com/en-us/...als-in-windows
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Apr 2017
Posts: 2
|
Hi Anders,
thanks a lot, that is the result. I'm wondering that I've got this behavior only with my win 10 and not with win 7 ?? I will check my configuration of both systems, but now I know what I have to look for. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Apr 2017
Posts: 30
|
Thanks Anders, It works fine now.
|
![]() |
![]() |
![]() |
#5 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
For future reference, did you change the registry or some other hack to fix it?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
mapped drive, share, smb, uac, unc |
Thread Tools | Search this Thread |
Display Modes | |
|
|