User Tools

Site Tools


win:network_drives

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
win:network_drives [2018/09/29 07:44]
derek
win:network_drives [2024/09/22 19:51] (current)
Line 6: Line 6:
 A partial fix for this is to give the computer a static IP address, this works most of the time because it causes the network to be ready faster, but not always and may not be an option. A partial fix for this is to give the computer a static IP address, this works most of the time because it causes the network to be ready faster, but not always and may not be an option.
  
-A better option is to make a scheduled task that runs when the network is available+A better option is to make a scheduled task that runs when the network is available, as described in [[#Setup]].
-  * Open Task Scheduler +
-  * Action > Create Task +
-  * General > Name > ''Reconnect Network Drives'' +
-  * Triggers > New: +
-    * Begin the task > ''At log on'' > ''Any User'' +
-    * Delay task for: ''30 seconds'' +
-  * Actions > New: +
-    * Action > ''Start a program'' +
-    * Program/Script > ''cmd.exe'' +
-    * Add arguments > ''%%/c "net use Y: \\Server\Share & net use Z: \\Server\Second Share"%%'' +
-  * Conditions > Network: +
-    * Select ''Start only if the following network connections are available'' +
-    * Select ''Any Connection''+
  
 ====Admin Access to User Shares==== ====Admin Access to User Shares====
 Another issue is programs that are run as administrator don't have access to shares mapped as a user. Another issue is programs that are run as administrator don't have access to shares mapped as a user.
  
-To work around this problem, configure the EnableLinkedConnections registry value. This value enables Windows to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group.+To work around this problem, configure the EnableLinkedConnections registry value. This value enables Windows to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group. 
 + 
 +====Setup==== 
 +  * Open the network tab in Explorer and connect to the network share to authenticate for the first time, make sure to select ''Remember my credentials'' 
 +  * Open Task Scheduler 
 +  * ''Action'' > ''Create Task'' 
 +  * ''General'': 
 +    * ''Name'' > ''Reconnect Network Drives'' 
 +    * ''Run only when user is logged on'' 
 +    * ''Configure for'' > ''Windows 10'' 
 +  * ''Triggers'' > ''New'': 
 +    * ''Begin the task'' > ''At startup'' 
 +  * ''Conditions'' > ''Network'' > ''Start only if the following network connections are available'' 
 +  * ''Actions'' > ''New'': 
 +    * ''Action'' > ''Start a program'' 
 +    * ''Program/Script'' > ''cmd.exe'' 
 +    * ''Add arguments'': 
 +<code> 
 +/c "net use R: "\\FileServer\Public" & net use S: "\\FileServer\Documents" & net use T: "\\FileServer\Photos" & net use U: "\\FileServer\Music" & net use V: "\\FileServer\Video" & net use W: "\\FileServer\Software" & net use X: "\\FileServer\Dereks Documents" & net use Y: "\\FileServer\Downloads" & net use Z: "\\FileServer\Dereks Backups"" 
 +</code>
  
-Download and run the following file to make the change to the registry:+  * Download and run the following file to allow applications run as administrator to access these shares:
 <code reg ShareNetworkShares.reg> <code reg ShareNetworkShares.reg>
 Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
win/network_drives.1538207055.txt.gz · Last modified: 2024/09/22 19:51 (external edit)