0

I have a Windows 2012 instance running in the Amazon cloud. It's just a test server for an asp.net project and only has the necessary features installed. The problem is the instances is out of disk space (30 GB). All that's installed is the default stuff and a few things for my asp application. I was looking through some websites like this one, Free Up Disk Space on Windows Server 2012, and have been trying to remove some unused features from the WinSXS foler (which is over 13.5 GB!). When I try to run Get-WindowsFeature in powershell, the command fails with an error:

get-windowsfeature : The request to list features available on the specified server failed. A DISM session could not be opened. An error occurred accessing the temporary folder C:\Windows\TEMP\F3023A61-3F1C-4C38-94F5-04C5CA1110CE. Ensure that the path to the temporary folder exists and that you have Read/Write permissions on the folder. Error: 0x80070070 At line:1 char:1 + get-windowsfeature + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Get-WindowsFeature], Dep
loymentProviderException + FullyQualifiedErrorId : DISMAPI_Error__Failed_Opening_Dism_Session,Microsoft.Windows.ServerManager.Commands.GetW indowsFeatureCommand

The folder c:\windows\temp exists and the admin user has access to the folder... Is this error because I'm out of disk space? What else can I do to free up some space?

  • Windows installs are pretty big these days. You really shouldn't be running with that small of a hard drive. I believe most would recommend a server start with not less than 100GB. – Colyn1337 Mar 12 '15 at 15:12
  • Unfortunately I used the default Amazon AMI and, using Amazon's Free Tier, the max size I can get the instance is 30 GB. – mack Mar 12 '15 at 20:12
1

Find something else to delete first, like IIS logs.

| improve this answer | |
0

What else can I do to free up some space?

Try Disk Cleanup first. Here is how to run it if you don't have Desktop Expirience installed, or don't want to install it.

To run Disk cleanup:

  1. Click Start

  2. Click All ProgramsAccessoriesSystem ToolsDisk Cleanup

  3. Select Drive C from the drop-down menu

  4. Click OK

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.