Меню Рубрики

Windows has unable to create a required installation folder

Can’t reinstall Windows «Window was unable to create required installation folder C:\$windows.

Original Title: Window was unable to create required installation folder C:\$windows.

BT. An existing file or folder of this name could not be deleted. Error code: 0x80070091

I want to re-install my windows, but these error keep appearing. I already try some tips to solve this problem, just like about the ownership issues etc.

Please help my problem here please 🙁

Replies (1) 

This issue might occur if the Windows is unable to delete the file or folder during the installation. Bad drive sectors or a security software might conflict while deleting the files.

  1. Do you have a third party security software installed on the computer?
  2. What is the complete folder location that shows with the error message?

Windows is trying to delete the temporary folder related to Windows installation file (windows.

BT). But, the installation fails as the folder is not getting deleted. First of all, navigate to the location (that is shown with the error message) and then try renaming the file (last file name for the complete folder location). Start the installation again and check if it helps. If not, proceed with the troubleshooting methods.

Method 1:

Let’s try removing the folder using Disk Cleanup tool. Refer to the link to delete the system file:

Refer to the section “To clean up all files on the computer”:

Note: Select the following check boxes and click OK.

•Previous Windows installation(s) –> for the Windows.old folder/files

•Temporary Windows installation files –> for the $WINDOWS.

Restart the computer and check if the same error message shows up while going through the installation. If yes, proceed to the next method.

Method 2:

Refer to the link to run Check Disk to scan and fix bad sectors on the drive:

Important: Data available on bad sectors might be lost when chkdsk tries to repair your hard disc.

Restart the Windows setup again and check if it fixes the issue.

Источник

Windows unable to create required installation folder error code 0x80070005

Try these following suggestions:

The error 0x80070005 occurs if the upgrade has no permission to writecertain folder. Try the following steps:

1. Please download the subinacl.msi file from the following link and save the installation patch onto the Desktop:

2. Please go to the Desktop and double click the downloaded file.

3. Please select the C:\Windows\System32 folder as the Destination Folder during the installation. Later we will use this tool to reset the permission settings on the current machine.

4. Click the «Start» Button, in the «Start Search» bar, type: «notepad» (without quotes) and press Enter.

5. Copy the following commands and then paste them into the opened Notepad window:

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

subinacl /subdirectories %SystemDrive% /grant=administrators=f

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

subinacl /subdirectories %SystemDrive% /grant=system=f

6. After pasting the above commands, please close the Notepad window. Choose «Save» when you are prompted to save the file. Type «reset.bat» as the file name and choose «Desktop» from the left panel as the save location.

7. Refer to the Desktop and right click the reset.bat file, then choose «Run as administrator.»

8. You will see a DOS-like window processing.

NOTE: It may take several minutes, please be patient. When it is finished, you will be prompted with the message: «Finished, press any key to continue».

If same thing happens, let’s move to the next step.

Run the upgrade by using the Built-in Administrator

1. Click the Start button->All Programs->Accessories.

2. Right click Command Prompt and select «Run as administrator».

3. Click Continue when the User Account Control window appears.

4. Copy the following command and press Enter:

net user administrator /active:yes

5. Restart the computer and then log into the computer by this Administrator account.

6. Run windows 7 upgrade.

Error code 0x80070005 usually indicates that you don’t have enough privilege or the operation is blocked. As I know, some programs (Boot Camp on Mac PC, etc.) may not be compatible with Windows 7, if you have installed these programs on the computer, you may not be able to perform the upgrade. You need to uninstall these programs before upgrading. Moreover, this kind of issue can be related to UAC, I recommend you toturn off UAC in Windows Vista , if you have installed any security software, try to uninstall the security application as well.

BTW, for your references, I found some similar issues:

Windows was unable to create a required Installation folder. Error Code: 0x80070005

«Unable to create folder» error when trying to install Windows 7

Error 0x80070005 when upgrading to windows 7 from vista

CREDIT: Dale Qiao Microsoft, Moderator and cdobbs

Источник

Windows unable to create required installation folder error code 0x80070005

Try these following suggestions:

The error 0x80070005 occurs if the upgrade has no permission to writecertain folder. Try the following steps:

1. Please download the subinacl.msi file from the following link and save the installation patch onto the Desktop:

2. Please go to the Desktop and double click the downloaded file.

3. Please select the C:\Windows\System32 folder as the Destination Folder during the installation. Later we will use this tool to reset the permission settings on the current machine.

4. Click the «Start» Button, in the «Start Search» bar, type: «notepad» (without quotes) and press Enter.

5. Copy the following commands and then paste them into the opened Notepad window:

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

subinacl /subdirectories %SystemDrive% /grant=administrators=f

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

subinacl /subdirectories %SystemDrive% /grant=system=f

6. After pasting the above commands, please close the Notepad window. Choose «Save» when you are prompted to save the file. Type «reset.bat» as the file name and choose «Desktop» from the left panel as the save location.

7. Refer to the Desktop and right click the reset.bat file, then choose «Run as administrator.»

8. You will see a DOS-like window processing.

NOTE: It may take several minutes, please be patient. When it is finished, you will be prompted with the message: «Finished, press any key to continue».

If same thing happens, let’s move to the next step.

Run the upgrade by using the Built-in Administrator

1. Click the Start button->All Programs->Accessories.

2. Right click Command Prompt and select «Run as administrator».

3. Click Continue when the User Account Control window appears.

4. Copy the following command and press Enter:

net user administrator /active:yes

5. Restart the computer and then log into the computer by this Administrator account.

6. Run windows 7 upgrade.

Error code 0x80070005 usually indicates that you don’t have enough privilege or the operation is blocked. As I know, some programs (Boot Camp on Mac PC, etc.) may not be compatible with Windows 7, if you have installed these programs on the computer, you may not be able to perform the upgrade. You need to uninstall these programs before upgrading. Moreover, this kind of issue can be related to UAC, I recommend you toturn off UAC in Windows Vista , if you have installed any security software, try to uninstall the security application as well.

BTW, for your references, I found some similar issues:

Windows was unable to create a required Installation folder. Error Code: 0x80070005

«Unable to create folder» error when trying to install Windows 7

Error 0x80070005 when upgrading to windows 7 from vista

CREDIT: Dale Qiao Microsoft, Moderator and cdobbs

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Windows has recovered from an unexpected shutdown что это
  • Windows has encountered a problem communicating with a device как исправить
  • Windows has encountered a problem communicating with a device connected ошибка
  • Windows has encountered a problem communicating with a device connected to your computer
  • Windows has encountered a problem communicating with a device 0xc00000e9