Forum Discussion
Roaming Profile ghost share
This was an old share sued for roaming profile testing. It was deleted but some accounts still redirect their folders to this share. It's not in shares in server manager. The profile paths are pointing to a different location, and I can't find a way to delete this share. How can I permanently delete this share. I deleted it in the past but it's still showing up. Or is there a way to prevent this error from occurring?
3 Replies
- NixonssBrass Contributor
Use net share and Get-SmbShare to find and delete the share via command line. Check registry entries under LanmanServer\Shares for residual share info. Clean up user profile paths in Group Policy, local profiles, and registry. Prevent re-creation or referencing of the old share by reviewing policies.
- GracianonCopper Contributor
Run gpresult /H report.html or use Group Policy Management to review policies affecting user profiles. Look for Folder Redirection or Profile Path policies pointing to the old share.
- WrentdrIron Contributor
On the domain controller, use the command `net share` to view all shares. Then use `net share share_name /delete` to remove any residual shares, and check the registry key `HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares` for any remaining entries.