Ghost vs Persistent Network Connections

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

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

See Also

Featured Links