• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Script to take all the shared settings and revert back after format

Hi,

I have a file server.Because of some OS issues need to format them.So i need to take all the share and security permission setting backed up.So that after the format i dont need to spend time give access to each folder.Is there a way to back all the permissions.

Regards
Sharath
0
bsharath
Asked:
bsharath
  • 4
  • 3
1 Solution
 
RubenvdLindenCommented:
If you're in a domain you can use NTBackup: http://www.mcmcse.com/microsoft/guides/ntbackup.shtml
0
 
bsharathAuthor Commented:
I am using Veritas 9.0 for backup....
0
 
RubenvdLindenCommented:
If you're in a domain with multiple domain controllers, just backup and restore.

If you only have one server, backup the SAM first. You can download two resource kit utilities for this, called REGBACK and REGREST.

The syntax for your SAM would be:
regback c:\backupfolder\sam.bku machine sam

Next create the backup of your files, rebuild your server, restore the SAM (regrest c:\backupfolder\sam.bku c:\backup\sam.old machine sam) and finally restore your backup.

I'm not sure if it backups and restore your share names, but it does restore all the permissions on the file system.
The downloads can be found here: http://www.petri.co.il/download_free_reskit_tools.htm
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
bsharathAuthor Commented:
Ok i need to do this on the dc or the server which i need to format
0
 
RubenvdLindenCommented:
If there are no other domain controllers in your network then you'll have to do the procedure with the REGBACK and REGREST.
0
 
bsharathAuthor Commented:
I have 4 domain controllers....
0
 
RubenvdLindenCommented:
In that case Veritas will take care of the backup of permissions.
This might also be of interest to you: http://forums.techarena.in/showthread.php?t=90876
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now