Questions tagged [ntfs]
NTFS is the primary file system of all modern versions of Windows.
566
questions
82
votes
24
answers
69k
views
Storing a million images in the filesystem
I have a project that will generate a huge number of images. Around 1,000,000 for start. They are not large images so I will store them all on one machine at start.
How do you recommended on ...
45
votes
5
answers
249k
views
Overcoming maximum file path length restrictions in Windows
One of our customers habitually use very long path names (several nested folders, with long names) and we routinely encounter "user education issues" in order to shorten the path to less than 260 ...
38
votes
11
answers
178k
views
How to take ownership of files from the command line?
Every so often I run into a file that I need to take ownership of. I normally use cacls for changing ntfs permissions, but it doesn't seem to do ownership. Under *nix I would run something like ...
37
votes
2
answers
25k
views
fstab filesystem type for NTFS -- 'ntfs' or 'ntfs-3g'?
I have a question about the difference between 'ntfs' and 'ntfs-3g' in the filesystem type field in the /etc/fstab file. My Linux distribution is Xubuntu; I suppose the answer may well vary between ...
33
votes
8
answers
48k
views
How to workaround the NTFS Move/Copy design flaw?
As anyone that has dealt with file server permissions is aware, NTFS has an interesting design feature/flaw known as the Move/Copy problem.
As explained in this MS KB article, the permissions for a ...
28
votes
7
answers
5k
views
What's the maximum theoretical data transfer throughput of NTFS?
Recently I was at a local user group meeting where the presenter noted that the maximum throughput of the NTFS IO stack was 1 GBps. He substantiated his claim by simultaneously copying two large files ...
22
votes
3
answers
29k
views
Window 256 characters path name limitation
after a long research, I finally found out that pathnames cannot be longer than 256 characters even in the latest Microsoft Windows 7. I really don't get it why there is such a stupid limitation, ...
21
votes
8
answers
77k
views
How do I take ownership of a folder when access is denied and the security tab is missing?
I have a Windows 2003 Standard x64 Server with SP2.
After deleting a large number of folders from a folder, the OS is reporting "Access Denied" on any attempt to read or manipulate the folder. When ...
21
votes
7
answers
1k
views
NTFS "Secrets"?
A few weeks ago I was reading through the Wikipedia entry on NTFS, and noticed that it was possible to use Symbolic Links amongst a number of other features that aren't readily apparent in Windows ...
20
votes
3
answers
87k
views
Change owner recursively with Powershell?
I'm trying to use Powershell to change owner of a folder, recursively.
I'm basically using this code:
$acct1 = New-Object System.Security.Principal.NTAccount('DOMAIN\Enterprise Admins')
$...
20
votes
5
answers
20k
views
Create NTFS symbolic links from within Linux
Is there a Linux utility that can create NTFS symbolic links? That is, a link on an NTFS partition that points to another NTFS folder - one that will work within Windows 7, specifically.
I wish to ...
19
votes
3
answers
87k
views
Unable to restore from Shadow Copy due to long filename
We have shadow copy enabled on our Windows SBS 2008 server. Attempting to restore a file from shadow copy gave the following error-
The source file name(s) are larger than is supported by the file ...
19
votes
13
answers
356k
views
Error 0x80070570: How to delete corrupted and unreadable file?
On my system partition I have a folder which cannot be deleted. This folder has been created by restoring files from an Acronis TrueImage backup.
The error message says:
Error 0x80070570: The file ...
18
votes
10
answers
67k
views
NTFS Folder has no owner, no permissions, can't be deleted
I have a folder a 2003 member server which can't be deleted. Nothing has any permissions (domain admin and running up a cmd prompt as "nt authority\system" using psexec) - always "access denied".
...
18
votes
1
answer
2k
views
User accidentally messed up a Robocopy command and caused a bunch of folders to get created with corrupt security
We had a user run a robocopy command to copy some files but unfortunately the user accidentally messed up the syntax.
Something like:
robocopy "\\server1\share\Accounting" \\server1\share\...
18
votes
5
answers
55k
views
Quickly changing Windows permissions for a huge directory tree?
I have a huge directory on an NTFS file-system
(i.e. a top-level directory containing tens or hundreds of millions of descendant nodes with the file nodes probably on average about three levels deep) ...
18
votes
1
answer
5k
views
From bad sector to "damaged file" - did it for Linux/ext3, can I do it for Windows/NTFS?
When a SMART check on a disk reports a bad sector, it is important to be able to identify the file that has the bad sector - and restore it from backups. Below, I show how I did this for my Linux/ext3 ...
17
votes
2
answers
8k
views
How do you disable the "last accessed" attribute on NTFS/Windows?
Inspired by this answer, I realize I have no idea how to disable the last accessed attribute in Windows to increase performance. If you can, how?
I know in Linux you can mount the partition with the '...
16
votes
3
answers
159k
views
List user's folder access permissions
I have a user in a domain who has access to multiple subfolders in multiple folders. His rights were defined pretty granularly. Now he's leaving the company but will continue to work for a firm as a ...
15
votes
4
answers
43k
views
NTFS - Domain Admins don't have permissions despite being part of the Local Administrators group
As per "Best Practices" staff in our IT department have two accounts. An unprivileged account and an account that is a member of the global Domain Admins ($DOMAIN\Domain Admins) group. On our file ...
15
votes
5
answers
9k
views
How can I use PowerShell to enable NTFS compression, in place, on log files older than x days?
I have an application server, running Windows 2012 R2, which generates a high volume of log files, to the point that it runs the application volume out of free space on a semi-regular basis. Due to ...
14
votes
6
answers
36k
views
Best method to track folder size growth over time?
I have a file server that has a pretty large folder tree. There's a shared folder, under that are 5 departmental folders. Nested inside of those are thousands of subfolders and files.
I would like ...
13
votes
2
answers
6k
views
Is it good practice to use NTFS Compression on IIS Log folders?
Is it a good practice to use NTFS Compression on a IIS Log folders and files?
I was able to go down from 20GB to 7GB by doing this. The IIS logs are per day, and have an average size of 20MB but some ...
13
votes
3
answers
968
views
What are possible drawbacks of an IIS 7 site having an NTFS junction as a web root?
I am trying to come up with a way to deploy ASP.NET code with as little site disturbance as possible. One thought was to set up the site to be served from an NTFS junction c:\www\example.com where
c:\...
12
votes
1
answer
12k
views
NTFS ACL's: What is the difference between object and container inhertiance?
I am looking at using icacls.exe. However, before proceeding, I wanted clarification on the difference between these two ACL's:
(OI) - object inherit
(CI) - container inherit
12
votes
5
answers
21k
views
Resetting NTFS Permissions Disk Wide
Someone messed up majorly in setting permissions on an NTFS drive and I'm looking at a way to reset all permissions to default. The OS will be reinstalled but I'm trying to salvage data from their ...
12
votes
1
answer
16k
views
Sluggish performance on NTFS drive with large number of files
I am looking at this setup:
Windows Server 2012
1 TB NTFS drive, 4 KB clusters, ~90% full
~10M files stored in 10,000 folders = ~1,000 files/folder
Files mostly quite small < 50 KB
Virtual drive ...
11
votes
9
answers
27k
views
Flash Drives - should be formatted NTFS?
Should Flash Drives be formatted NTFS? What are the Pros & Cons of doing so?
11
votes
3
answers
3k
views
Why does Windows process all NTFS child objects when changing a parent’s ACL?
Why does Windows process all NTFS child objects when changing a parent’s ACL?
I would expect this behavior if I had checked the “Replace all child object permissions...” box, but even when that box ...
11
votes
3
answers
29k
views
Get the Allocation Unit Size from NTFS disk
I need to find out the "Allocation Unit Size" selected when a particular hard-disk was formatted.
It doesn't appear in the properties information for the drive.
Is there any easy way to get this ...
11
votes
6
answers
16k
views
Install GRUB on NTFS
I would like to install 2 completely independent instances of Windows XP (no data should be shared) in my computer within 2 different primary partitions.
I know that grub can handle booting them ...
11
votes
6
answers
17k
views
How can I compact the VHD file with Ubuntu?
I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk.
I want to compact this VHD (The real size is 50 GB, 360 GB on the ...
11
votes
2
answers
25k
views
What is the best way to fix NTFS file permissions to inherit parent?
When XP clients move files on the same volume, the permissions are moved with it. With Windows 7 clients and up, when a file is moved, the permissions are inherited.
Unfortunately, we still have a ...
11
votes
5
answers
5k
views
Does Windows have a checksumming filesystem like ZFS or BtrFS?
I use ZFS and love it. I know that BtrFS also supports checksumming. I've been told that checksumming is available in Windows 2008, but I've been unable to verify this.
Are there checksumming ...
10
votes
8
answers
786
views
Crashed Hard Drive Data Retrieval
I recently had a laptop hard drive crash on me and am trying to rescue some of the data on the original drive.
As such, I've extracted my failed hard drive and installed it in a USB enclosure. I've ...
10
votes
6
answers
14k
views
Configuring NTFS file system for performance
We have an application that is planning to store around 1.1TB of XML files which average 8.5kb in size.
These represent a rolling 18 months of data, with around 200,000 new files being created every ...
10
votes
8
answers
6k
views
Is this a recommended/valid approach for file server permissions?
File servers are a fact of life in IT and I'm curious if there are any generally accepted practices (I hesitate to use the word "best" here) for how you create groups and apply permissions for ...
10
votes
2
answers
4k
views
Windows Server Backup Error - Volumes Larger than 16.7TB cannot be protected?
I'm trying to use Windows Server Backup to backup a RAID array on my new server. But, when I do, I run into this error:
The server is running Windows Server 2012 R2 and the array in question is 20TB ...
9
votes
2
answers
6k
views
How can I split a drive image created with 'dd' into separate files for each partition?
I created an image of a failing drive with:
dd if=/dev/sde of=/mnt/image001.dd
The drive had only two partitions:
Device Boot Start End Blocks Id System
/dev/sde1 * ...
9
votes
7
answers
108k
views
How to resize the primary partition in Windows Server 2008?
We have a Windows Server 2008 with C: and D: drives. I freed up 30 GB from the D: drive using the "shrink volume" option and that needs to be added to C: drive. But the extend volume on the C: drive ...
9
votes
3
answers
17k
views
Does using a large NTFS disk allocation size for a file share make a difference?
I'm formatting a drive using NTFS which will be dedicated as a file share for users to centrally store their files. The files will likely be large (10's to 100's of megabytes).
Someone suggested ...
9
votes
5
answers
19k
views
Security: Unable to display current owner
I have a user with local administrative rights on their Windows 7 64-bit box. They extracted a file from a zip file they downloaded with the Zip shell extension to their desktop on a non-encrypted or ...
9
votes
1
answer
201
views
Windows / NTFS - is it possible to measure completion time of file operations?
I'm looking for possibility of measuring how much time it takes to finish file operation issued to NTFS driver (open file close file delete file, write, read etc) and to be able to log it. I can't ...
8
votes
5
answers
5k
views
Protect files on NTFS volume from Domain Administrators
We're a small company with a 2008R2 domain on which we have a file server with several shared volumes. We have a number of IT staff in the domain administrators role, because effectively we're all on ...
8
votes
3
answers
14k
views
NTFS: How do I find the sector(s) a file is occupying?
On my hunt to find an answer, I came across an answer to the opposite question, how to find which file occupies a sector (on Windows, use nfi.exe from the Windows 2000 OEM toolkit).
From what I ...
8
votes
2
answers
8k
views
Windows 2003; Find folders with non-inherited/changed permissions
The question: I'm looking for a good way to audit/search a directory structure (Windows 2003) and locate any folders that either don't inherit permissions from their parent -or- have additional users/...
8
votes
3
answers
4k
views
How to see if/when a long file copy operation actually completed?
Having to move several very large files (VHDs) between two servers, I launched the file copy operation using Windows Explorer in a Remote Desktop session, and then closed the session without logging ...
8
votes
1
answer
2k
views
How do NTFS permissions become improperly ordered?
I have some files on a network share and they were read-only accessible to users. I had set the permissions to provide full rights to all domain users - when I checked the main folder, this was still ...
8
votes
4
answers
5k
views
How do I force ntfsresize to ignore the backup bootsector?
I cloned one hard drive to another and things are working well. Except for my NTFS volume not taking up the entire partition (due to the older volume being smaller).
Doing this:
sudo ntfsresize -x /...
8
votes
4
answers
37k
views
Why can't I delete a folder that I have ownership (+ children) AND full control permissions (+ children) on?
I've got some leftover Windows update temporary folders (they have GUID-ish names) on the root of the system drive. I'm trying to clean these up, but am getting the following behavior upon deletion ...