Server Manager Error

 Server Manager Error KB ID 0001915

Problem

I needed to add a role to a Window server today, but when I attempted to do so I got the following error.

Server Manager Error - The request to list features avaiable on the specified server failed

The request to list features available on the specified server failed.

Solution : Server Manager Error

This one had me perplexed for a while, I close this dialog box and was looking at Server manager and noticed there was an error ‘large red flag’ so I clicked that and got this.

Server Manager Error - The directory in the temoprary folder could not be created

A DISM session could not be opened.
An error occurred The directory in the temporary folder {Location} could not be created.
Ensure that the path to the temporary folder exists and you have Read/Write permissions to the folder.

At this point the penny dropped, in this article I’d changed the location of the system variables for the TEMP and TMP directory. I just needed to change them back.

# Set new TEMP and TMP path
$newTempPath = "C:\Windows\Temp"
 
# Change system environment variables
[System.Environment]::SetEnvironmentVariable("TEMP", $newTempPath, [System.EnvironmentVariableTarget]::Machine)
[System.Environment]::SetEnvironmentVariable("TMP", $newTempPath, [System.EnvironmentVariableTarget]::Machine)
 
# Verify the changes
Write-Host "System TEMP and TMP variables updated to: $newTempPath"
 
# Prompt the user to restart for changes to take effect
Write-Host "A restart is required for changes to apply system-wide."

ServerManager Error - Powershell change TEMP folder location

Unfortunately the CHANGE REQUIRES A REBOOT. Post reboot all was well.

Related Articles, References, Credits, or External Links

NA

Author: PeteLong

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *