Ghost vs Persistent Network Connections


Network share connections established are either persistent or ghosted.
Persistent connections are reconnected at relogon. Setting to ghosted
connections is a good privacy measure.

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Control\NetworkProvider
Name:
RestoreConnection
Type: REG_DWORD
Value: 0 ghost connection
Value: 1 persistent

The command-line syntax of whether connections are persistent is

net use drvltr: \\servername\sharename /persistent:YES|NO

To include in a policy modify:

Hive: HKEY_USERS
Key: .DEFAULT\Software\Microsoft\WindowsNT\CurrentVersion\Network\Persistent
Connections

Name: SaveConnections
Type: REG_SZ
Value: no not persistent
Value: yes persistent

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top