You can use Windows Explorer's Folder Options to check or uncheck Restore previous folder windows at logon on the View menu.

To uncheck this via the registry:

1. Copy /Paste the following to a PersistBrowsers.reg file:

REGEDIT4

\[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\]
"PersistBrowsers"=dword:00000000

2. Merge the PersistBrowsers.reg file with the user's registry or run regedit /s PersistBrowsers.reg.

3. The user must log off and log on for this setting to take effect.

To check this via the registry:

1. Copy /Paste the following to a PersistBrowsers.reg file:

REGEDIT4

\[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\]
"PersistBrowsers"=dword:00000001

2. Merge the PersistBrowsers.reg file with the user's registry or run regedit /s PersistBrowsers.reg.

3. The user must log off and log on for this setting to take effect.