Installation & Licensing Community Knowledge Base

Out of Disk Space During Installation to Another Disk Drive

by Alumni TBasich on ‎02-27-2013 01:13 PM

PROBLEM:  During the installation of your Autodesk product, your attempt to install on another disk drive or partition is met with a warning that you are out of disk space on your system drive (i.e. C:\) even though you are not installing there.

 

Out_of_Space.JPG

 

REASON: The Autodesk installer, though installing the program to another drive as specified by the user, still needs to use the Windows temporary file locations during installation. This includes your Windows profile %TEMP% location as well as any additional Temporary Internet Files that need to be downloaded (i.e. Content Files) to complete installation. Additionally, some files will typically need to exist on the system drive, such as Desktop shortcuts, Start Menu icons, and additional Windows Profile settings for individual user preferences in the application. 

 

WORK-AROUND: To get around the space limitation on your system drive to complete the Autodesk installation, you need to clear space on that drive.  This can be accomplished by changing multiple system settings and moving the locations of temporary folders. 

 

It is recommended you use any or all of the following procedures to assist in freeing space in your system drive. 

 

Note:  Some of these procedures require you to have local Administrator privileges and/or User Account Control (UAC) settings disabled. You will also want to ensure you can see all hidden files & folders, as well as menus in Windows Explorer. Please contact your IT department if you need additional access to make these changes.

 

 

RUNNING DISK CLEANUP

 

Windows has a built-in Disk Cleanup utility that you can use. However, its automatic results are typically not as effective as manually cleaning files. You can run the Disk Cleanup tool from Start > All Programs > Accessories > System Tools > Disk Cleanup.

 

Disk_Cleanup.jpg

 

For more information on how to use Windows Disk Cleanup, see the following Microsoft article:

 

http://windows.microsoft.com/en-US/windows7/Delete-files-using-Disk-Cleanup

 

 

DELETING TEMP FILES

 

The most effective way to clear space is to delete any and all temporary files not being used by Windows. You may have multiple gigabytes of unnecessary data taking up space in your Windows system and User profile. 

 

The locations of temporary files varies for each computer. But typically, you can safely delete all of the files located in the following locations (if they exist):

 

  • %TEMP%  (i.e. C:\Users\username\Appdata\Local\Temp)
  • %WINDIR%\TEMP  (i.e.  C:\Windows\Temp)
  • %WINDIR%\PREFETCH  (i.e.  C:\Windows\Prefetch)

Note: Some of these folders may be hidden by default. You can toggle hidden files and folders in Windows Explorer (Win+e) from Tools > Folder Options > View (Tab)

 

You can traverse to these folder locations directly from Windows Explorer or by using the environment variables in the Start > Run (Win+r) box.

 

run_temp.jpg

 

In each of these locations, you can safely delete the entire contents of the folders.  The most effective way to delete the entire contects is with a select all (CTRL+a) and a permanent delete (SHIFT+DEL). This will prevent the files from going into your Recycle Bin. 

 

Note: Any files "in-use" by the system or programs will not be able to be deleted and you will be prompted accordingly.

 

 

DELETING & CHANGING SIZE OF TEMPORARY INTERNET FILES 

 

Internet Explorer has a large default setting for temporary Internet files. It is best if you manually change this value to the recommended mimimum value to save space on your system drive. Typically, this value is 50MB. Your default value could be taking up multiple gigabytes of space. You should modify this value and periodically clear the cache.

 

You can do this in Internet Explorer from Tools > Internet Options.

 

On the General tab, locate the Browsing History section and click the Settings button. In this dialog box, you can reduce the amount of space taken up by your Temporary Internet Files. 

 

temp_ie_files.jpg

 

Note:  In addition, you can click Move Folder to move the location of this temporary folder from your User Profile on the system drive to another folder you create on a separate hard drive or partition. This will prevent any temporary Internet files from being kept on your system drive. 

 

If you use a 3rd party browser such as Chrome or Firefox, you should locate the instructions to duplicate this process for all browsers you actively use. 

 

 

MOVING YOUR %TEMP% FOLDER

 

In addition to moving your Temporary Internet Files, you should also consider moving the location of the %TEMP% folder in your User Profile that you cleared above. This is an effective way to keep all temporary installation files from using the space on your system drive or taking up unnecessary space altogether. 

 

Moving your %TEMP% file location requires you to change the User Environment Variable that defines it. This is done from System Properties. You can access System Properties by right-clicking My Computer and selecting Properties. This can be done from the Desktop icon or the Start Menu icon. You can also use the shortcut (Win+Pause/Break) to do the same. 

 

To locate the User Environment Variables, go to System Properties > Advanced System Settings > Advanced (Tab) and click the Environment Variables... button at the bottom. 

 

EnvVar.jpg

 

Locate the User Environment Variables in the top section and click the Edit button next to the TEMP variable. You can change the Variable Value to a folder you create on another hard drive or partition (i.e. D:\TEMP). 

 

temp_var.JPG

 

Note: If you have a TMP user environment variable, you can change it as well. 

 

 

MOVING YOUR WINDOWS VIRTUAL MEMORY SWAP FILE

 

One of the largest blocks of space taken up on your hard drive will be the Windows Virtual Memory swap file. This is the file that Windows uses to page available RAM. This file can be 1x - 3x the size of the RAM installed on your system. For best performance, it is often recommended that this file be placed on a separate hard drive (not partition) from your system drive. In fact, if you have multiple drives, you should split the file between multiple drives.

 

To move the Windows swap file, you need go to System Properties > Advanced System Settings > Advanced (Tab) again and choose the Settings... button under the Performance section at top.

 

Performance.jpg

 

On the Performance Options dialog window, you need to click the Advanced (Tab) and then click the Change... button. 

 

Advanced_Tab.jpg

 

On the Virtual Memory dialog window you will want to uncheck the box to Automatically manage paging file size for all drives.  

 

Then select the C: drive and choose the last radio button for No paging file and click the Set button. If Windows warns you, click OK. 

 

Choose another available hard drive (i.e. D:\) and then choose the first radio button for Custom size: and input the Recommended paging size in both the Initial size (MB): and Maximum size (MB): boxes and then click the Set button. 

 

virtual_mem.jpg

 

If you wish to split the page file among multiple drives as in the image above, then do so following the same steps.

 

Click OK to all windows. 

 

Note: It is best practice to keep both the minimum and maximum boxes the same value to prevent the fragmentation of your page file. You should not put less than the recommended value, nor less than the amount of physical RAM (in Megabytes) on your computer. It is recommended that you have at least 1.5x the physical RAM, up to 3x. If your computer is 32-bit Windows, then your maximum virtual memory page file is capped at 4096MB. 

 

For more information on changing Virtual Memory settings, see the following Microsoft article:

 

http://windows.microsoft.com/en-US/windows-vista/Change-the-size-of-virtual-memory

 

 

DISABLE HIBERNATION

 

Hibernation is a feature most often used by mobile workstations, however it takes up considerable space of your hard drive. This is especially discouraging if you do not use hibernation because it is enabled by default. Hibernation can take up as much space on your hard disk as the amount of RAM you have installed. 

 

Note: To disable hibernation, you need to have administrative access to the command prompt. 

 

Click Start > All Programs > Accessories

 

Locate the icon for Command Promt and Right-click it. On the resulting contect menu, chose Run as Administrator.

 

In the Command Prompt window, type the following command exactly:

 

powercfg -h off

 powercfg.jpg

 

This will take effect immediately and remove the hibernation file, freeing up multiple gigabytes of space. 

 

Note: Depending on your version of Windows, you might have to use the following command at the prompt:

 

powercfg.exe /hibernate off

 

For more information about this process, you can see the Microsoft knowledge base article here:

 

http://support.microsoft.com/kb/920730

 

 

CONCLUSION: After running all or some of these steps, you may be required to reboot to put them into effect. After reboot, attempt your Autodesk installation again. 

 

Note: Some Autodesk suites (e.g. Revit) require additional downloads during installation for added content. Please be sure that you have enough space for additional downloads, including service packs.

 

It is always recommended that you install your Autodesk applications with local Administrator privileges, UAC turned off, and anti-virus temporarily disabled. 

 

For more information about disabling User Account Control (UAC) please see this Microsoft article:

 

http://windows.microsoft.com/en-US/windows7/How-do-I-change-the-behavior-of-User-Account-Control-by-...

 

Don't forget to empty your Recycle Bin! Good Luck!

 

Originally written by Travis Nave

Comments
by darken9 on ‎06-25-2013 06:08 AM

I have gone through all of these steps and I still can not install.

Even though I have changed the windows temp folder the installation is still trying to use 40 gigs of space on the the c drive. How do I tell it to look at another drive?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Ask the Community

Up & Ready Blog

Boldly Install, Configure and Deploy Autodesk Software.

AutodeskHelp Blog

Your one-stop shop for the latest solutions, breaking news, and behind the scenes access to the world of Autodesk support.

Connect with Us Twitter

Pinterest

Blog

Youtube

Contributors