Home > Windows Server Tips > Windows Systems and Network Administration > Beware of ACLs on NTFS volumes from old Windows installations
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Beware of ACLs on NTFS volumes from old Windows installations


Serdar Yegulalp, Contributor
11.06.2006
Rating: -3.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


NTFS Access Control Lists (ACLs) and Security Descriptors (SDs) describe who can access what NTFS objects, and to what degree. If a given user or group has access to an object, the ACL for that object will contain a reference to that user or group—not by their name, but by their GUID.

This way, if you have an object somewhere on an NTFS partition that belongs to a user on a specific machine, those permissions are unique. You can't create a user with the same name on another machine and expect to have unrestricted access to that object; you have to take ownership of the object first. (There are other ways around this issue, but taking ownership of the files is the least complicated solution.)

You may run into this problem head-on if you have an NTFS-formatted drive with files on it that are owned by a user who was only present in another installation of Windows somewhere. I ran into this when creating a new, clean installation of Windows on one of two drives in a system I own. The old installation of Windows wasn't bootable anymore, so I created a new one from scratch and started to sort through the files on the second hard drive. To my dismay, I found a directory that I couldn't delete, rename or do much of anything else with.

At first I thought it was a "file in use" issue, so I tried using Unlocker to free up the file. CHKDSK turned up nothing. Eventually I realized that the files in question had been owned by the administrator in the older, now-deleted installation of Windows. I took ownership of the problem folder and reset its permissions to inherit from the root of the drive. Once I did that, I was able to delete the directory without a hitch.

Soon after, a friend experienced similar problems. He was using an external hard drive, formatted as NTFS, which somehow had had the "Everyone" permissions revoked on most of the objects on it. The only user who could access the files on it was his Admin account on his desktop computer. . .which was no longer bootable. But once he restored and reset the permissions appropriately, everything was accessible once again.

The irony is that NTFS was simply behaving exactly as it ought to. But my friend had simply tightened permissions of the objects on that drive to the point where he was inconveniencing himself!

If you open the Security dialog for an object and see a CLSID-type number (a CLSID is a class ID GUID that identifies a COM object) instead of a username or group, that's a sign that the user information for that object isn't present on that system. Either it's either been deleted or it's from another computer. Such "missing" entries are not purged by default, because for all NTFS knows they could be perfectly valid user IDs from another computer. If you're confident that these user IDs are not valid, and you want to inspect a volume for all possible such entries, you can use the SubInACL command-line tool (from Microsoft) to find them.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter, which is devoted to hints, tips, tricks, news and goodies for Windows NT, Windows 2000 and Windows XP users and administrators. He has more than 10 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Windows Systems and Network Administration
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities
Cutting the cost of Windows identity and access management

Windows File Management
Using DFSR for SYSVOL replication in Windows Server 2008
Key DFS improvements in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Using NTFS on a non-Windows OS with NTFS-3G
File classification the automated way with Windows Server 2008 R2
Using DFS to create file system virtualization in Windows Server 2008
File server migration tips for Windows Server 2008
Windows Distributed File System (DFS) Tutorial
Planning a file server migration to Windows 2008
Windows Distributed File System (DFS) Namespace primer
Windows File Management Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
NTFS  (SearchWindowsServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts