Lost your windows share? Export next time as a backup

Unfortunately this is usually discovered after the fact, but don't let it happen again.

So you spent hours fiddling with windows NTFS permission and then created corresponding folder shares. Of course, it was by hand and over the course of several month.

In comes

ISCSI shares didn't import after windows update/reboot, hence disk not available and no shares to present. Hence the share info is gone. If your loucky after to get the shares mounted, it will still retain the NTFS permissions you painstakingly configured.

Yeah, you gotta start all over, boo. But take heart in the fact that it will be the last time that ever happens to to you.

1. Re-config your shares
2. Capture what you setup to a txt file for manual restore with this nugget.
  • C:\>SRVCHECK \\yourservernamehere >ManualSharesConfig.txt
3. Export those bad boys from the registry
  • SYSTEM\CurrentControlSet\Services\LanmanServer\Shares see this
4. Have a nice day

Comments :

0 comments to “Lost your windows share? Export next time as a backup”