Change sparse attribute from an .iso file on Windows 8.1



The Sparse attribute is a file system feature of the NTFS file system used by Windows operating systems. It is used to store large files, such as virtual hard disks (VHDs) and media files, more efficiently by allocating space only when it is needed. The Sparse attribute can be set or cleared on a file or directory through a variety of methods, including the Windows command prompt and the Windows Powershell. In this article, we will discuss how to change the Sparse attribute of an ISO file on Windows 8.1.

The first step to changing the Sparse attribute of an ISO file on Windows 8.1 is to open an elevated command prompt. To do this, click on the Start button, type “cmd” into the search box, right-click on “cmd.exe” and select “Run as administrator” from the context menu. This will open an elevated command prompt window.

Once the elevated command prompt window has been opened, the user can enter the command to change the Sparse attribute of the ISO file. The command is “fsutil sparse setflag ” where is the full path of the ISO file. For example, if the ISO file is located in the “C:\\ISO” directory, the command would be “fsutil sparse setflag C:\\ISO\\myfile.iso”.

If the user wishes to clear the Sparse attribute of the ISO file, they can use the same command but replace “setflag” with “clearflag”. For example, the command to clear the Sparse attribute of the ISO file in the “C:\\ISO” directory would be “fsutil sparse clearflag C:\\ISO\\myfile.iso”.

If the user wishes to check the Sparse attribute of the ISO file, they can use the “fsutil sparse queryflag” command. This command will return a value of “1” if the Sparse attribute is set, and a value of “0” if it is cleared. For example, the command to check the Sparse attribute of the ISO file in the “C:\\ISO” directory would be “fsutil sparse queryflag C:\\ISO\\myfile.iso”.

The user can also use the Windows PowerShell to change the Sparse attribute of an ISO file. To do this, open the Windows PowerShell by clicking on the Start button, typing “powershell” into the search box, right-clicking on “Windows PowerShell” and selecting “Run as administrator” from the context menu. This will open a Windows PowerShell window.

Once the Windows PowerShell window has been opened, the user can enter the command to change the Sparse attribute of the ISO file. The command is “Set-ItemProperty -Path -Name IsSparse -Value $true” where is the full path of the ISO file. For example, if the ISO file is located in the “C:\\ISO” directory, the command would be “Set-ItemProperty -Path C:\\ISO\\myfile.iso -Name IsSparse -Value $true”.

If the user wishes to clear the Sparse attribute of the ISO file, they can use the same command but replace “$true” with “$false”. For example, the command to clear the Sparse attribute of the ISO file in the “C:\\ISO” directory would be “Set-ItemProperty -Path C:\\ISO\\myfile.iso -Name IsSparse -Value $false”.

If the user wishes to check the Sparse attribute of the ISO file, they can use the “Get-ItemProperty” command. This command will return a value of “True” if the Sparse attribute is set, and a value of “False” if it is cleared. For example, the command to check the Sparse attribute of the ISO file in the “C:\\ISO” directory would be “Get-ItemProperty -Path C:\\ISO\\myfile.iso -Name IsSparse”.

In summary, the Sparse attribute is a feature of the NTFS file system used to store large files more efficiently. It can be set or cleared on a file or directory through a variety of methods, including the Windows command prompt and the Windows PowerShell. In this article, we discussed how to change the Sparse attribute of an ISO file on Windows 8.1 using both the command prompt and the Windows PowerShell.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo