Questions tagged [ntfs]

NTFS (New Technology File System) is the primary file system used by Windows.

NTFS (New Technology File System) is a proprietary file system developed by Microsoft Corporation for its Windows line of operating systems, beginning with Windows NT 3.1 and Windows 2000, including Windows XP, Windows Server 2003, and all their successors to date.

NTFS supersedes the file system as the preferred file system for Microsoft’s Windows operating systems.

NTFS has several improvements over FAT and HPFS such as improved support for metadata and the use of advanced data structures to improve performance, reliability, and disk space utilization, plus additional extensions such as security access control lists (ACL) and file system journaling.

Versions

The NTFS on-disk format has five released versions:

  • v1.0 with NT 3.1, released mid-1993
  • v1.1 with NT 3.5, released fall 1994
  • v1.2 with NT 3.51 (mid-1995) and NT 4 (mid-1996)
  • v3.0 from Windows 2000 ("NTFS V5.0" or "NTFS5")
  • v3.1 from Windows XP (autumn 2001; "NTFS V5.1")

NTFS Log

NTFS is a journaling file system and uses the NTFS Log ($LogFile) to record metadata changes to the volume. It is a critical functionality of NTFS (a feature that FAT/FAT32 does not provide) for ensuring that its internal complex data structures, or data moves performed by the defragmentation API, the modifications to MFT records, and indices will remain consistent in case of system crashes, and allow easy rollback of uncommitted changes to these critical data structures when the volume is remounted.

NTFS on other operating systems

Linux

The ability to read and write to NTFS is provided by the NTFS-3G driver. It is included in most distributions.

Mac OS X

Mac OS X 10.3 and later include read-only support for NTFS-formatted partitions.

References

961 questions
-1
votes
1 answer

What kind of Windows 10 NTFS file objects are these?

I'm looking at a fresh out of the box, Windows 10 laptop. Under the folder C:\Users\John.Doe\Documents File Explorer shows three "folders": My Music My Pictures My Videos I cannot see or access these "folders" from PowerShell nor the old cmd…
Texaganian
  • 19
  • 6
-1
votes
2 answers

Setting NTFS rights via P/S and getting Canonical Form error

I have a PowerShell script to set up a user's folders with NTFS, Sharing and DFS. All of it works, however I get this message when setting the NTFS rights. Exception calling "SetAccessRule" with "1" argument(s): "This access control list is not in…
DubyaG
  • 1
  • 1
-1
votes
1 answer

Confusion about file offset in Win32 LockFileEx API

According to the LockFileEx() documentation, a file offset is specified in lpOverlapped->Offset/OffsetHigh. But when debugging winword.exe to analyze its file system behaviors, I see it calls LockFileEx() on a 122-byte file with Offset=0xfffffffb…
herb
  • 139
  • 8
-1
votes
1 answer

Problem with locating Raw Data with DataRun NTFS

I have an image of a NTFS file which contains multiple test file. When i get to a windows Bin i encounter the data runs : 1 cluster => 4096 / 0x1000 bytes 22 BD 00 42 01 21 56 67 FF 11 03 97 11 13 D7 00. Normally it would means that i have 4 runs…
Louis
  • 1
  • 2
-1
votes
1 answer

How to unset sparse flag of a file in ntfs-3g partition, using only linux?

I want to unset sparse flag of a file in ntfs-3g partition, using only linux. and properly(zerofill holes ?). What I have tried: setfattr -h -v 0x00000000 -n system.ntfs_attrib_be /xxx/file
atmgnd
  • 1
-1
votes
1 answer

PVE Connect to Wi-Fi from CLI

I need to format a partition as read-write ntfs, but right now it can only do it as read-only. In order to accomplish my needs I need to apt-get ntfs-3g, but in order to do that I need the machine to connect via. Wi-Fi to my hotspot. It is currently…
-1
votes
1 answer

What permissions/privileges are needed to access foobar.txt::$EA

I'm trying to open the ::$EA stream of a file. Has anyone done this before? I'm not finding any samples anywhere. What are the dwDesiredAccess needed to do this? Apparently FILE_EA_READ is not quite enough. I'm getting ACCESS_DENIED with: HANDLE h =…
Patrick
  • 356
  • 1
  • 10
-1
votes
1 answer

set write permissions to multiple folders within a single folder

I have a large list of folders within a single folder directory. My network rules are set where ntfs permissions are not inherited. I need to assign read and write permissions to each individual folder for the same 4 users to each of these…
-1
votes
2 answers

How change an NTFS Volume UUID

Does anybody have a solution to change the "Volume UUID" on Mac ? I have this when using diskutil info from mac os x
deek5
  • 367
  • 1
  • 13
-1
votes
1 answer

Access denied when ReadFile in $MFT

I want read MFT table with Windows API, but ReadFile API retrns ERROR_ACCESS_DENIED. I already run as admin. Here is my code: invoke CreateFileA,addr MFT,FILE_READ_ATTRIBUTES,FILE_SHARE_READ,0,3,FILE_FLAG_RANDOM_ACCESS or…
-1
votes
1 answer

File Server Folder Permissions on Windows Server 2012 w/Domain

I am migrating an old File Server to a new one and have created a new structure that will have ranging permissions. The new file structure is similar to : 01 - CEO ........ <- only CEO can access 02 - Finance ........ <- only Finance & CEO can…
Filip Korngut
  • 207
  • 1
  • 3
  • 10
-1
votes
1 answer

file systems in C++

I'm working on a project in which I have to do some file handling. If only someone could tell how to work with file system like moving, copying, deleting, renaming and checking for the existence of files in Windows.
-1
votes
2 answers

How rename an Volume (partition) with Objective-C?

I create vhd in different formats (NTFS, FAT32, FAT16, HFS +), I do not find the way to get the $ Volume_name offset of an NTFS partition, plus I would like to convert a string to $ Volume_name. By observing the $ Volume_name of an NTFS partition I…
deek5
  • 367
  • 1
  • 13
-1
votes
1 answer

Setup NTFS permissions on a shared folder to allow users to write files/folder hiding other users' files

I need to setup a shared folder so that users can create subfolders and files but must not see files/folders created by other users. I tried setting Traverse Folder (only permission given) to the main folder and write permission to subfolders/files,…
Gotrekk
  • 494
  • 2
  • 15
-1
votes
1 answer

Blocking write locks with transacted NTFS

According to the MSDN documentation, transactional NTFS doesn't seem to allow one to block on opening a file for write - instead the open operation fails with ERROR_SHARING_VIOLATION. I'd like to block on writes instead - how can I do this? Ideally…
bdonlan
  • 224,562
  • 31
  • 268
  • 324