Archive

Archive for May, 2014

How to Back Up and Restore NTFS and Share Permissions


 

Sometime we need backup sharing Permission and restore while you upgrade server to another server or upgrade from Old Windows 2003 to 2008 R2. you can backup using Image ghost and restore to target server, permission security will be installed after you upgrade to new server. but sometime you will be experience when doing restore. it’s impossible you add one by one security permission.

Backup and Restore of Share Permissions

1. Open Regedit to the following location:  HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

2. Right-click the Shares registry key and select Export. Give it a file name such as Sharebackup.reg

When you want to restore the permissions, double-click sharebackup.reg to import it back into the registry.

Backup and Restore of NTFS Permissions

Use this command to backup NTFS permissions:

icacls d:\data /save ntfsperms.txt /t /c

The /T switch allows it to get subfolder permissions too. The /C switch allows it to continue even if errors are encountered (although errors will still be displayed).

Use this command to restore them:

icacls d:\ /restore ntfsperms.txt

 

d:\data are the target folder contain all NTFS Permission. icacls will be backup all contain NTFS permission include subfolder in folder data.  to restore you only point to target the folder.

Advertisements
Categories: Active Directory

“Network Path is Not found” while you access file sharing

May 6, 2014 6 comments

many customer want to access file sharing, but the error “Network Path is not found” whereas you have enable file sharing on the folder. but the error still issued.

If you’re having this issue, try these things:

 

Check the status of these services and make sure they’re running on both ends:

  • Remote Registry Service
  • Server
  • Workstation
  • Computer Browser
  • Remote Procedure Call
  • TCP/IP NetBIOS Helper Service
Categories: Active Directory

Unable to take ownership of files in Win 2K8 R2 server


I have one of client in my company, they are complain to me after file server is upgrade to windows 2008 R2, the user cannot access the file server although administrator. the error is access denied. I try to take to ownership permission security on the folder sharing. but the notify still get error  “ Unable to set new owner on <one of the folders>” Access Denied.

you can solve this problem only add take owner permission administrator on GPO.

1. Open Secpol.msc

2. Local Policies

3. User Right Assignment

4. Take ownership of file or other object

now you can add administrators group. default permission on administrators

image

Categories: Active Directory