windows server 2012 Install-WindowsFeature command executing extreamly slow

New server installed and we wanna install server features on it using powershell.

Script start working, but nothing changed during long period time. Installation progress 24%.

Internet is not accessable. Features installing from iso image mounted to vm.

It's the same image which used for server installation.

Any ideas- what's wrong?

Command is:

Install-WindowsFeature -Name

$Feature-Source $windowsDistribLocal-LogPath $LogPathLocal

resulted command is:

Install-WindowsFeature -Name NET-Framework-Core -Source D:\ -LogPath C:\temp\installlog.txt

In a log file was:

2408: 2013-12-25 15:02:48.404 [ServerManagerPS]           Complete initializing log file.
2408: 2013-12-25 15:02:48.606 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Enumerate server component ended with Success.
2408: 2013-12-25 15:02:49.935 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Alter server component started. Component names: NET-Framework-Core,NET-Framework-Features
2408: 2013-12-25 15:02:49.950 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Alter server component ended with InProgress. The progress is 20
2408: 2013-12-25 15:02:50.965 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Alter server component started. Component names: NET-Framework-Core,NET-Framework-Features
2408: 2013-12-25 15:02:50.981 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Get alteration state ended with InProgress. The progress is 24.
2408: 2013-12-25 15:02:51.997 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Alter server component started. Component names: NET-Framework-Core,NET-Framework-Features
2408: 2013-12-25 15:02:51.997 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Get alteration state ended with InProgress. The progress is 24.
2408: 2013-12

***

2408: 2013-12-25 15:07:36.510 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Alter server component started. Component names: NET-Framework-Core,NET-Framework-Features
2408: 2013-12-25 15:07:36.510 [ServerManagerPS]           23326f59-1a36-403b-a2bb-1346f85867a5 Get alteration state ended with InProgress. The progress is 24.

WinServ2012 on virtual box.

December 25th, 2013 6:35am

Hi,

Based on your description, I do the same operation in my Lab environment (Hyper-v and Windows Server 2012). Unfortunately, this issue cant be reappeared. So, before going further, would you please let me confirm something?

Did you mean that there was no error message when this issue occurred, just the progress was stuck at 24%? How long did you wait for the change approximately? Finally, can the feature be installed successfully or not?

Meanwhile, please locate to C:\ Windows\ Logs\ CBS folder and check the CBS log if you can find some clues.

If anything I misunderstand or more details you can provided, please dont hesitate to let me know.

Hope this helps.

Best regards,

Justin Gu
Free Windows Admin Tool Kit Click here and download it now
December 26th, 2013 2:15am

What is found at D:\ ?  Is it the \source\sxs directory from the installation media of the installation media used to install the operating system?

According to the log entry you posted, you waited five minutes.  Did you then cancel it?  If you only waited five minutes, and the installation procedure did not find the source\sxs files at D:\, you may not have waited for the process to time out.  If it can't find the necessary files at your -Source location, it will try the internet.  Since you state you do not have access to the internet, it will go through a timeout before it reports a failure.  The fact that it got to 24 quickly makes sense because it was just going through the initial steps of getting things set up to process.

December 26th, 2013 4:18pm

use process monitor..

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Features installing from iso image mounted to vm.

this may be key

can install manually? The same issue?

Best,

Howtodo

Free Windows Admin Tool Kit Click here and download it now
December 26th, 2013 7:12pm

Manually- yes.

But it's not a case for me, because server environment installationg must be without anykind of human interaction...

December 27th, 2013 3:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics