Share via


Systeminfo hangs

Question

Tuesday, May 7, 2019 1:50 PM

Hi,

I have a script in R programming language which uses the systeminfo command. Unfortunately, it hangs on this command. I tried to run systeminfo directly using Command Prompt and Powershell as an administrator ('C:\systeminfo') to figure out what is causing the problem. In both cases it hangs on 'Loading Hotfix Information'. I have let it run for a while (+30 minutes), but it's still hanging. Does anyone have a clue what could be causing this problem?

All replies (9)

Tuesday, May 7, 2019 3:18 PM

Hi Thomas.

We do not know what the script does, but the first place I would suggest you to look into would be the "Application" log into the Windows Event Viewer: there you could find any record related to an application hang error.

Bye.

Luigi Bruno
MCP, MOS, MTA, MCTS, MCSA, MCSE


Wednesday, May 8, 2019 6:06 AM

Hi,

Thank you for posting in Microsoft TechNet Forum.

I'm sorry that I don't know what script you want to run. However, I found a post which may help, please try to refer to it:

https://stackoverflow.com/questions/40588667/powershell-systeminfo-execution-time

It seems that you have hotfix information if you use systeminfo command.

Note: This is a third-party link and we do not have any guarantees on this website. This is just for your convenience. And Microsoft does not make any guarantees about the content.

Best regards,

Hurry


Please remember to mark the reply as an answer if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]


Wednesday, May 8, 2019 9:22 AM

Hi,

Thanks for your answers. I found a workaround in which the script would not use the 'systeminfo' command at all, so that kind of solves my problem.

Still leaves me with the question why this command does not work, as it is a standard windows command (/en-us/windows-server/administration/windows-commands/systeminfo). 

I ran the 'systeminfo' command again through Powershell, but it just cancels after +30 minutes of hanging at 'Loading Hotfix Information'.

Regarding the 'Application' logs: I don't think there is any relevant information there. Only message within the relevant time frame I see is an Information level log:
'DllHost (12156,G,98) The beta feature EseDiskFlushConsistency is enabled in ESENT due to the beta site mode settings 0x800000.'

Regarding the stackoverflow post: it seems like the command always needs hotfix information, which does not solve my problem, as it just hangs loading this information.

Do you have any other suggestions where I might have to look?

Regards,

Thomas


Thursday, May 9, 2019 1:42 PM

Hi,

Thank you for your feedback.

Try to upgrade your windows to the latest version and check.

Best regards,

Hurry


Please remember to mark the reply as an answer if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]


Thursday, May 9, 2019 7:13 PM

Hello,

I suspect that systeminfo is running WMI queries, so you could have an issue with WMI or the values it is trying to query.

When it runs for an extended period of time does it ever complete running?

What are the sizes of the registry files under \Windows\System32\config folder?

In particular the System, Software and Component file sizes.

Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.


Sunday, May 12, 2019 1:18 PM

Hi,

Is there anything else I can do to help you on this issue?

Please feel free to contact me if you have any questions.

Best regards,

Hurry


Please remember to mark the reply as an answer if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]


Monday, May 13, 2019 3:16 PM

Hello,

I suspect that systeminfo is running WMI queries, so you could have an issue with WMI or the values it is trying to query.

When it runs for an extended period of time does it ever complete running?

What are the sizes of the registry files under \Windows\System32\config folder?

In particular the System, Software and Component file sizes.

Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

Hi,

The command does not complete, it just cancels after running for about 30 minutes. 

The sizes of the registry files in \Windows\System32\config are as follows:

COMPONENTS  - 63MB

SOFTWARE  - 126MB

SYSTEM  - 24MB

Please let me know if you need any further information.

Thanks for your help!

Thomas


Tuesday, May 14, 2019 8:37 AM

Update:

I got a firmware update and a Windows update today. The command is working fine again, so problem solved. (Unfortunately I don't know which of the two updates fixed the problem.)

Thanks all for your help!


Wednesday, May 15, 2019 7:17 AM

Hi,

I'm glad to hear that your problem was successfully solved.

Wish you a happy life.

Best regards,

Hurry


Please remember to mark the reply as an answer if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]