OpenFileDialog 看不到網路磁碟機

Solution 1 : Forcing windows to make the network drives available to standard and administrator acounts:

1 – run regedit

2 – locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

3 – create a new DWORD entry with the name EnableLinkedConnections and value 1.

4 – restart your computer

5 – now you can see and use network drives with these installers or applications.

Solution 2 : Making sure every user gets the network drives added as soon as they login:

Adding a script with the following lines

net use e: /delete
net use e: \myserv\myshare

in the folder: “\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp” for all users.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *