Topic: Cannot build my project because "NTFS file compression is disabled" ??  (Read 274 times)

lappy02

  • Apprentice
  • *
  • Date Registered: Feb 2020
  • Posts: 8
Something when wrong with my project, anyone know how to fix this thing?
I try to disable from "gpedit" and reboot but have no luck!

Please help me!

And here is my Screenshot:
- Error NTFS file compression
https: //drive. google. com/ open?id=1LejuR2Wq-U1ivDeRA5Ly4Al-KLG1SZSD
- GPEDIT
https: //drive. google. com/ open?id=1jDCJcWkfK8bT0dyszVK024bIMAEOAB6s

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #1 on: February 09, 2020, 05:48:18 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
Hi Lappy,

I cannot open your Screenshots.

To Enable NTFS Compression.

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableCompression"=dword:00000000

Create a reg file with this and merge it into problematic machine. Reboot computer to apply changes.

But most of the time the error you will get in project are related to dism.

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #2 on: February 09, 2020, 07:35:33 PM »

lappy02

  • Apprentice
  • *
  • Date Registered: Feb 2020
  • Posts: 8
sorry for that, just remove space from url.
i try that but no luck at all.. :(

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #3 on: February 09, 2020, 07:37:43 PM »

lappy02

  • Apprentice
  • *
  • Date Registered: Feb 2020
  • Posts: 8
here is my screenshot

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #4 on: February 09, 2020, 07:58:57 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Verify the RegKey entry on Host PC after the registry merge & reboot..

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableCompression"=dword:00000000

That Key is sometimes changed by Backup or A/V software programs
« Last Edit: February 09, 2020, 08:00:29 PM by James »

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #5 on: February 10, 2020, 12:58:21 AM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
ok...

Try this in an elevated Command Prompt

Code: [Select]
fsutil behavior set DisableCompression 0

See what reply you get.


Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #6 on: February 10, 2020, 09:28:16 AM »

lappy02

  • Apprentice
  • *
  • Date Registered: Feb 2020
  • Posts: 8
Thank you so much, i just pass that step.. and now stuck right after that :))
Please see my screenshot for more detail

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #7 on: February 10, 2020, 01:01:09 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
Verify in you registry for the following value"AutoRun" under

Code: [Select]
HKCU\SOFTWARE\Microsoft\Command Processor

If it exist Remove that value.

open a cmd box Type in following command then press return... There's a space between echo and ...

Code: [Select]
cmd.exe, /C echo ...

You should receive "..." Then type following command an press return,

Code: [Select]
Echo %errorlevel%

You should receive 0

reboot an retry to build.

« Last Edit: February 10, 2020, 01:01:45 PM by Malok »

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #8 on: February 10, 2020, 02:36:28 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
You can run each process in CodeBox - as it appears by posted log image that the registry can not be read or fails to be read...

Select CodeBox Tab and replace the [Process] with then process below - then hit Big Green Play Button ( Upper Right Corner )
Code: [Select]
[process]
If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL
//-
Set,%CmdAutorun%,""
If,ExistRegKey,HKCU,"SOFTWARE\Microsoft\Command Processor",AutoRun,RegRead,HKCU,"SOFTWARE\Microsoft\Command Processor",AutoRun,%CmdAutorun%
Else,Begin
  If,ExistRegKey,HKLM,"SOFTWARE\Microsoft\Command Processor",AutoRun,RegRead,HKLM,"SOFTWARE\Microsoft\Command Processor",AutoRun,%CmdAutorun%
End
If,Not,-%CmdAutorun%,Equal,-,Echo,"AutoRun Command Processor = %CmdAutorun% is Executed Before All Other Variables.",Warn
//-
ShellExecute,Hide,cmd.exe,"/C echo ..."
If,Not,%ExitCode%,Equal,0,EchoExtended,"cmd.exe Fails With the Return Code: %ExitCode% on a Basic Command (Echo).#$x#$xSolve the problem! on cmd.exe before building.",Warn,,Message,,Halt

Then Post Image of Log (Compare to above - the above process failed right after setvar %CmdAutorun%

ila_rendered

« Last Edit: February 10, 2020, 02:39:40 PM by James »

Re: Cannot build my project because "NTFS file compression is disabled" ??
« Reply #9 on: February 10, 2020, 02:48:50 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
What "PreCheck" is doing - is it is checking for certain conditions on Host PC
These Checks insure certain conditions are meet - for a successful build..
You can negate the Checks by Changing the Variable to False
But no insurance the build will complete or be successful..

 

Powered by EzPortal