Questions tagged [ntfs]
NTFS (New Technology File System) is the primary file system used by Windows.
ntfs
977
questions
0
votes
0
answers
23
views
fsutil file queryFileNameById on Network Drive
I have a network drive (L:), which is an NTFS volume, and I'm using fsutil to get a unique identifier of a file as follows:
PS L:\> fsutil file queryFileID .\Pictures\
File ID is 0x0000000001240041
...
0
votes
2
answers
43
views
powershell update folder security upto a certain folder that is at unknown depth
I am trying to update folder permission to folders until it reaches certain folder
Once those folders is found it will need to stop and go to the next folder inside the subfolder inside.For example c:\...
0
votes
0
answers
27
views
NTFS - INDEX_ROOT and $SDH
I'm trying to write a program that can read an NTFS filesystem from binary. However, I've run into an issue with trying to understand the INDEX_ROOT attribute in a file record. Specifically, I'm ...
0
votes
0
answers
16
views
NTFS permissions on fileshare
I have a fileshare with the following structure:
\server\share\Users\username\folder\subfolder\file.txt
I am trying to deny users to read and list folder contents at level \server\share but I need ...
0
votes
1
answer
76
views
Storing NTFS File Attributes in a Zip Archive
I have recently written a DEFLATE compressor and decompressor. As far as I understand the fstream Windows gives you does not include NTFS attributes as these are found in the $MFT. I need to go over ...
0
votes
1
answer
28
views
Centos Samba Access to NTFS mounted drive...Access Denied
Noob here. I am having a problem with accessing an NTFS drive mounted on a Centos 9 server.
I mounted it at /mnt/ntfs and configured a basic
open SAMBA server for testing purposes.
I can lock it ...
0
votes
0
answers
33
views
PowerShell Set-ACL issues -Unexpected error occurred: Exception calling ".ctor" with "5" argument(s): "Value cannot be null. Parameter name: identity"
I'm having issues with a script I'm writing to remotely modify file share permissions. I am trying to remove all domain user and group permissions, then add back group permissions that were created in ...
0
votes
0
answers
43
views
Why does MINGW MSYS2 `ln` not create directory junctions?
Background: I have a good understanding of UNIX filesystems, POSIX filesystem semantics and the POSIX file-related APIs, but little understanding of NTFS and the Windows file-related APIs. I expect ...
1
vote
2
answers
64
views
PowerShell -> The directories with NTFS group permissions only. Error
I am trying to make this script work but I am getting error:
"Method invocation failed because [System.Management.Automation.PSObject] doesn't contain a method named 'op_Addition'."
This ...
0
votes
0
answers
67
views
Third data stream in files downloaded from the internet on some Win 10/11 devices but not others
We have a client using Azure Files. They raised an issue with us where trying to copy files that were downloaded from the internet into an Azure share would throw a warning re. properties being lost ...
3
votes
1
answer
84
views
How to integrate the SMB Core Protocol into your own application?
I am developing software that integrates folder redirection, and my application may run in a complex network environment with one or more gateways, proxies, and NAT devices in between.
My application ...
0
votes
1
answer
147
views
How to pre-allocate file on Windows (NTFS) without writing the whole file
I have an app that needs to preallocate space for a potentially very file on disk (a few TB). The file should occupy space on disk, such that allocated space can't be used by something else.
Using ...
0
votes
1
answer
77
views
On Windows, can you create a file without any name?
The ideal solution to one of my problems is to, given a drive (e.g., partition / what _stat returns in st_dev / volume GUID), create a HANDLE or FILE* physically on that drive that can be written to ...
0
votes
0
answers
67
views
"$Bitmap size is smaller than expected" when shrinking a partition image with ntfsresize
I have a disk partition image created using the dd command:
dd if=/dev/nvme1n1p2 of=/mnt/backup/windows.img
Now I want to reduce the amount of space it takes up, since there are not really that many ...
0
votes
2
answers
150
views
What is the binary format of NTFS timestamp? [duplicate]
I am trying to learn the raw binary format of every type of NTFS record and I am making great progress. Related question
I have found Active Disk Editor and it tells me all about the offsets and field ...