Out of disk space during installation to another disk drive

TravisNave
Mentor
Mentor

Out of disk space during installation to another disk drive

TravisNave
Mentor
Mentor

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. 

 

I recommend using 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.  Windows does a lousy job of cleaning up after itself.  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 desirable that 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 KB 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 (i.e. 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!

 

 Smiley Very Happy



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Reply
Accepted solutions (3)
163,460 Views
63 Replies
Replies (63)

TravisNave
Mentor
Mentor
Accepted solution

In an effort to assist in the cleanup of temporary files in the step listed above, I have written a command line script that will delete the temporary files for you. 

 

This script will delete files in the following locations:

 

%TEMP%

%WINDIR%\TEMP

%WINDIR%\PREFETCH

Internet Explorer Temporary Internet Files

 

You are welcomed to use this file as I do on all of my user workstations.  Simply download and unzip the file to your hard drive and double-click it to run. 

 

PLEASE USE AT YOUR OWN RISK.  I CANNOT BE HELD RESPONSIBLE FOR LOST DATA!

 

If anyone has any problems with this file, please let me know so that I can made updates. 

 

Known Issues:  I need to make an IF EXIST statement to check for the existence of the folders before deleting. 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files

Anonymous
Not applicable

My out of disk space window is slightly different from yours (see attachment). No drive is highlighted. I am trying to do the installation via Boot Camp in my case.
when I try to install with internet connection on. I got the following message:" 1606 Error Message. Could not access network location bin".
With the internet connection off. The Error Message is gone, but I got this "Out of Disk Space" window. Unlike your screenshot, no volume is highlighted in my case.

scottmoyse
Mentor
Mentor

Nice work. This would be a prime candidate for an AUGI article.


Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


RevOps Strategy Manager at Toolpath. New Zealand based.

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

greg_battin
Advocate
Advocate

Thank you for this tip. I emptied all three temp folders as you described.

For the longest time i was litterally running out of hard drive space even after uninstalling many unused programs and deleting various files...

After emptying the temp files that i saw in this post i deleted a single .tmp file that was 128 gigs!!!!

Now i have my hard drive again.

 

Thank you

~Greg

TravisNave
Mentor
Mentor
Accepted solution

ADDITIONAL INFORMATION UPDATE

 

If your drive is showing you have available space, but still getting the 'Out of Space' warning, then it is possible that some of your Windows profile locations are on a server that does not have enough space. 

 

EnoughSpace.jpg

 

 

For example, if your My Documents folder is mapped to a network drive and that server does not have enough available space for the install, then you will also receive this error.  You will either need to temporarily remap your profile folders back to your local drive or login as a local administrator user without redirected profile folders during the install.  Afterwards, you can place the settings back to your preferred locations. 

 

You may need to involve your IT for this process.  Good luck!



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files

Anonymous
Not applicable

According to this document only 35 GB is required to install, but I have 51.2 GB free space on my C: drive. All connected USB drives have in excess of 1 TB of free space and the only network drive has 1.5 TB free space. I want to install to the C: drive because a laptop is portable, but when I attempt to install I get the error "Not enough disk space.". Eventually I gave in and went to install it to a 3 TB drive with 1 TB free space and it says it is extracting 75.4 GB

Why is is the document wrong?

TravisNave
Mentor
Mentor
Probably because you are extracting a download rather than from physical
media. I suspect you would need double the space as listed.


Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
0 Likes

Anonymous
Not applicable

I have 5 gig free & phsically media but still can't install.

0 Likes

TravisNave
Mentor
Mentor

See my first post.



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
0 Likes

Anonymous
Not applicable

I might be missig what you're refering to.  

 

I have taken all of the steps in your first post to clear up the 5GB on my "C" drive.  I'm trying to install this on a "E" drive that has 114 GB free.

0 Likes

TravisNave
Mentor
Mentor

The install will use the %TEMP% folder on C:\.  Did you move it per my instruction?  Regardless of where you put it, the installation uses a lot of resources on C:\, which is why you need to move your temp folders and your virtual memory swap files to another drive.  An IT rule of thumb is to always ensure you have 20% free on C:\ at all times.  If needed, move your user profile folders to another drive as well.  You can move My Documents, Music, Pictures, etc. all to another drive and redirect them properly. 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
0 Likes

Anonymous
Not applicable
Yes I've moved the temp folders & all the misc junk (music, etc)

Looks like I just have to get a new hard drive.

TravisNave
Mentor
Mentor

Yeah, it's quite possible that you simply can't free enough space...  I assume you have rebooted after the changes, right?

 

Also, you might try to install your suite one app at a time.  That might sneak you by the limit.  But yeah, 5GB free probably isn't enough.



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
0 Likes

Anonymous
Not applicable

However I was able to create a deployment on my "E" drive & then install the software to my "E" drive w/out any issues.

0 Likes

scottmoyse
Mentor
Mentor
In my experience aside from the 20% free Travis mentions, I've found 10GB is the absolute minimum for the software to run correctly once installed.

Regards
Scott Moyse
MFG Technical Specialist

CADPRO Systems Ltd
0210557775
>From my Windows Phone

Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


RevOps Strategy Manager at Toolpath. New Zealand based.

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

0 Likes

Anonymous
Not applicable

Wow. Really in 2014, I need to make by myself space on C: so I can download somthng to OTHER drive? This is really disappointing. I really cant menage to get addional 5 gigs of space, so now only solution for me is format/redestribution of disk space (with risk of damage of data).

Iam sorry that my post adds nothing new to the topick, but this is just sad.

jessica.t
Alumni
Alumni

Hello @Anonymous,

 

I apologize for the trouble but some of our products are quite robust and need additional space on your computer. I understand the inconvenience, please let me know if you have further questions or concerns. Thank you!



Jessica Thrasher

Anonymous
Not applicable
Accepted solution

I got the solution, its simple.

during the instalation, the problem is the "content libraries".

it will download some files in drive "C:", and if you do not have space, nothing will be installed.

so what you need to do is change the location where the files will be downloaded.

 

click on "building information modeling content..."

revit-2015-portugues-arquitetura-estrutura-sistemas-15542-MLB20104940799_052014-F.jpg

 

 

 

change all the folders to the desired drive and instal

 

Anonymous
Not applicable

Hi,

 

As an additional measure to free up space, you can check the following:

See if there's no unpacking folders lingering in the C:/Autodesk folder. Autodesk does not automatically remove the unpacked files after install, so this folder might take up a lot of space if you've installed other autodesk products. Be sure NOT to remove the folder of the software you're trying to install at that moment. I removed the folders there and that did the job for me.

 

Greetings,

Jasper