1. Danish Ahamed LiakathAli
  2. PowerBuilder
  3. Wednesday, 30 June 2021 16:35 PM UTC

Hi,

    I am using PB 2019 R3 build 2703 in Windows 10 OS. In our application we have stored the resource images and base pbl pbr file in our a network drive.

If I run the PowerBuilder as an Administrator and tried to map the file when deploy the exe or Power Client, I am not seeing the mapped network location drive in Browse option. If I run PB not as an Admin, I am able to see the mapped network drive and able to map the files. 

I am not able to deploy Power client without Running as Admin and I am getting an resource file not found error when deploying PC due to this network drive not listing when running as Admin. 

 

Do I need to change any settings from PB or System level? 

 

Below Screenshot for reference. 

 

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 30 June 2021 16:40 PM UTC
  2. PowerBuilder
  3. # 1

I think this is a "windows thing".

If I run a cmd shell as Administrator and type in "W:", I don't get anywhere.

If I run a cmd shell NOT as Administrator and type in "W:", I get access to that mapped drive.

regards

Comment
  1. Miguel Leeuwe
  2. Wednesday, 30 June 2021 19:00 PM UTC
Maybe you can try using "\\....\......\....\filename" instead of the mapped drive?
  1. Helpful
  1. Danish Ahamed LiakathAli
  2. Thursday, 1 July 2021 12:58 PM UTC
Yes it is windows issue.



I tried the below steps in my laptop and it works. I am able to see the network locations If I Run the PB as Administrator.







1. Click 'Start' and Type Run



2. In the Run 'Open' box type Regedit to open the windows registry.



3. Navigate to the following registry folder:



HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Mup -> Parameters



4. Right Click in the right hand pane and Select New -> DWORD (32 Bit) Value



5. Give it the following name: EnableDfsLoopbackTargets



6. Modify the newly created DWORD by right clicking it and selecting Modify or giving it a double left click



7. Enter 1 and click OK



8. Close the Registry and Reboot Windows





Link :- https://community.spiceworks.com/topic/371685-user-can-t-access-mapped-network-drive ;
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 1 July 2021 13:02 PM UTC
Thanks for sharing Danish,

The problem with this kind of fixes, is that some companies might not like it when you to access the network with Administrator rights. So make sure you have permission.

regards
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.