Questions tagged [fsutil]

fsutil is a Windows command which performs FAT and NTFS file system tasks, such as dismounting a volume, setting the dirty-bit of a volume, or setting a range of files to zeroes.

Documentation:

Related:

22 questions
28
votes
5 answers

fsutil - The request is not supported after setCaseSensitiveInfo

I am trying to make a folder on Windows 10 case sensitive. I found this link that shows what you should do: basically it should be very easy: fsutil.exe file setCaseSensitiveInfo -destination here- enable Unfortunately I keep getting this…
eliav ozeri
  • 279
  • 1
  • 3
  • 4
8
votes
2 answers

Building ionic angular app fails when built from teamcity but succeeds every where else

We are working on a new angular ionic app and it builds on all our machines from powershell but on our build machine when it pulls the files from perforce to our D: drive it fails to build. Our build machine is using teamcity and we are using the…
Max Young
  • 1,522
  • 1
  • 16
  • 42
5
votes
0 answers

Support for case sensitive Windows directories in NIO.2

Recent Windows 10 builds feature an ability to mark a single NTFS directory (not the whole file system) as case sensitive, via fsutil.exe: Per-directory case sensitivity and WSL How to Enable Case Sensitive File and Folder Names on Windows 10 If I…
Bass
  • 4,977
  • 2
  • 36
  • 82
4
votes
1 answer

Why does using Fsutil make your windows computer run faster?

I have stumbled across this video which supposedly makes your computer run faster: Fsutil behaviour set memoryusage 2 However, I don't understand why it makes your computer faster. This seems too good to be true, can something really speed up your…
mime
  • 302
  • 1
  • 6
  • 21
3
votes
4 answers

why fsutil.exe takes less time to write a huge file into disk than programmatically?

this question is according to this topic: creating a huge dummy file in a matter of seconds in c# I just checked the fsutil.exe in xp/vista/seven to write a huge amount of dummy data into storage disk and it takes less time to write such a big file…
Vahid Hashemi
  • 5,182
  • 10
  • 58
  • 88
2
votes
1 answer

Deleting & Recreating NTFS Journals (Or How to Properly run the 'fsutil usn' Command)

I have a chkdsk Stage 3 error (which relates to NTFS usn journals and security descriptors). Corrupted NTFS journals prevent chkdsk /f from running a repair of the volume. So chkdsk repairs won't run and this is not a solution. However, I have…
IqbalHamid
  • 2,324
  • 1
  • 18
  • 24
1
vote
3 answers

fsutil hardlink doesn't work?

I was looking for a way to create hard links under Windows and I found this page: http://technet.microsoft.com/en-us/library/cc788097.aspx To try it out, I created a file (1.txt) on the root of my C: drive with 100 lines of the following…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
1
vote
0 answers

How can I change the maxver parameter of a drive's usn change journal?

I have an NTFS hard drive that I need to create a change journal on for my application. However I'm running into errors when attempting to use the created journal and I believe it's due to the maxver parameter that's set on the journal. When I run…
rawberry
  • 192
  • 9
1
vote
0 answers

fsutil setcasesensitiveinfo not working on sub Directories

I used this command to make windows directory casesensitive. fsutil.exe file setCaseSensitiveInfo -destination here- enable It's working fine on that directory, but not on it's sub directories. I can't run this command on each and every…
Ali Sajid
  • 257
  • 2
  • 12
1
vote
1 answer

Winapi equivalent for fsutil queryfilenamebyid command

The fsutil queryfilenamebyid displays a random link name for a specified file ID on an NTFS volume. I would like to do this programmatically using some winapi function(s) but I've failed to find any winapi equivalent via google searches. Does anyone…
conectionist
  • 2,694
  • 6
  • 28
  • 50
0
votes
0 answers

Hugo "Error while watching: short read in readEvents()" - unnecessary page refreshes

The specific error is: "Error while watching: short read in readEvents()" this error is being output by the hugo server. The phenomena this causes is continuous local server "Change detected, rebuilding site". In trying to find a resolution (not to…
Rogelio
  • 910
  • 5
  • 14
0
votes
0 answers

Access denied while opening file with FILE_OPEN_BY_FILE_ID, NtCreateFIle, ObjectID

Here I am trying to get a file handle by opening the fine by objectID, this open call is returning in access denied but the calling process has fill write access to the volume. Same call is working on some particular machine and getting access…
hdk
  • 21
  • 4
0
votes
0 answers

win32 hardlinks and process name

I'm a tester and have hundreds of versions of the same program to test. To avoid copying certain executables I store them as prog.exe.1 prog.exe.2 etc. then the script create a hardlink prog.exe (mklink /H .. or fsutil hardlink create prog.exe…
user2708351
  • 121
  • 7
0
votes
1 answer

Best way to get file list in dir sorted by added date

I have to delete the oldest file in dir when the newest added file exceed the used space limit. I don't know why the sorted list files = sorted(os.listdir(DIR), key=os.path.getctime) do not contain on first element the oldest file ( in this case…
0
votes
1 answer

fsutil file createnew on windows vs dd on linux

As title, I wonder how fsutil in windows can create a really large file so fast. Does it really allocate real cluster for that file or it just writes down file's metadata? Consider two commands below: fsutil file createnew testFile <1Tb> dd…
Hoang Thong
  • 95
  • 1
  • 10
1
2