Restoring permissions

Here's a way to ensure that permissions are properly restored to the correct files/folders during a backup and restore.

When an NT server crashes, a network administrator faces the task of reinstalling software applications, as well as restoring data from backups. Although restoring from backup is reliable, in most cases, the network administrator must still ensure that permissions for files and folders are successfully established.

Most software backup applications normally restore data with the current permissions to file and folders. However there is a way to ensure that permissions are properly restored to the correct files/folders -- save the permission data like your working data. This method -- like performing normal backups -- is a proactive measure. When you do it, you should keep the information stored in a secure place, together with the backup tapes.

Backing up the shares

  • Run registry editor (regedt32.exe)

     

  • Select HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerShares

     

  • From the registry menu click the save key

     

  • Save the file to a diskette

Restoring the shares

  • Run the registry editor

     

  • Select HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServer Shares

     

  • From the registry menu select restore

     

  • Locate the filename on the diskette

     

  • After the restore process reboot the server

Note: This procedure only restores domain users permission. Any existing shares will be overwritten.

For the restoration process to work, the folders must be the same drive as with the previous installation. This procedure can also be used when performing a migration from Windows NT to Windows 2000.

Adesh Rampat has 10 years experience with network and IT administration. He is a member of the Association of Internet Professionals, the Institute for Network Professionals and the International Webmasters Association. He has also lectured extensively on a variety of topics.


This was first published in October 2001

Dig deeper on Windows Data Storage Administration Tools

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close