question

AndyBukhansky-9178 avatar image
0 Votes"
AndyBukhansky-9178 asked AndyBukhansky-9178 answered

diskpart doesn't work from SYSTEM in Windows 2022

In Windows 2022 dispart executed from Group Policy startup script throws the following error:
"DiskPart encountered an error starting the COM services."

The script is running from user nt authority\system. It worked great on all Windows including 2019.

Is there a workaround for this issue?

135693-screenshot-2021-09-27-234515.png


windows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

You can check the System Event Log for more information about these issues and try to sort them out and Meanwhile try out the SFC and the DISm scan too.

  1. Press Win + R to summon the Run windows, type eventvwr, and press Enter.

  2. Click Windows Logs and System in order.

  3. Look for errors with the RED Exclamation mark and check the detailed information.



If the reply is helpful, please Upvote and Accept it as an answer

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyBukhansky-9178 avatar image
0 Votes"
AndyBukhansky-9178 answered

It's a newly installed system, nothing has been installed there.

There is nothing suspicious in the logs.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.