This tip was submitted to the SearchWin2000 Tip Exchange by member Humberto Higinio. Let other users know how useful...
it is by rating the tip below.
The information in this tip applies to:
You can use this tip to:
You can save the share names that exist on the original Windows NT installation, including any permissions assigned to those shares. To save only the existing share names and their permissions on Windows NT follow these steps:
1. On the existing Windows NT installation containing the share names and permissions that you want to save, run the Registry Editor (Regedt32.exe.)
2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: SYSTEMCurrentControlSetServicesLanmanServerShares
3. Choose Save Key from the registry menu.
4. Type a new file name (a file extension is not necessary) and save the file to a floppy disk.
5. Reinstall Windows NT.
6. Run Registry Editor. (Regedt32.exe.)
7. From the HKEY_LOCAL_MACHINE subtree, go to the following key:
8. From the registry menu choose Restore.
9. Type the path and file name of the file that you saved in steps 3 and 4.
WARNING: This step overrides whatever shares already exist on the Windows NT machine with the share names and permissions that exist in the file you are restoring. You are warned about this before restoring the key.
NOTE: If, after completing the procedure above, you decide that you should not have restored the Shares key, restart the computer and use the last known good configuration.
10. Restart the server.
Only permissions for domain users are restored. If a local user was created in the previous Windows NT installation, that local user's unique security identifier (SID) is lost.
NTFS permissions on directories and files are not affected when you save and restore the shares key.