# Command line error message

1. ## Command line error message

I am trying to install windows Server 2019 in USB,and I try to create Vdisk using command line. I have gotten error message from Diskpart Utility:Please if someone can help me I will appreciate her/him.

"Diskpart has encountered an error: The system cannot find the file specified.
My Computer

2. Qais Zaland said:
I am trying to install windows Server 2019 in USB,and I try to create Vdisk using command line. I have gotten error message from Diskpart Utility:Please if someone can help me I will appreciate her/him.
"Diskpart has encountered an error: The system cannot find the file specified.
Without knowing the command you typed it's impossible to say why it didn't work.

To see the correct use (with examples) in Diskpart type the command HELP CREATE VDISK
My Computers

3. Bree said:
Without knowing the command you typed it's impossible to say why it didn't work.

To see the correct use (with examples) in Diskpart type the command HELP CREATE VDISK
Thanks Bree, the command Series is correct,for my class professor used it and it worked properly. It is system issue.
My Computer

4. Qais Zaland said:
Thanks Bree, the command Series is correct,for my class professor used it and it worked properly. It is system issue.
Well, unless you post the command we won't be able to say why it didn't work for you...
My Computers

5. Bree said:
Well, unless you post the command we won't be able to say why it didn't work for you...
the command is :
create vdisk file="C:\ProgramData\int2310.vhd" maximum=80000
My Computer

6. Qais Zaland said:
the command is :
create vdisk file="C:\ProgramData\int2310.vhd" maximum=80000

Thank you. That command works for me.

Can you post a screenshot of the error? It would also help if you can find any related error(s) in the Event Viewer.
My Computers

7. Bree said:
Thank you. That command works for me.

Can you post a screenshot of the error? It would also help if you can find any related error(s) in the Event Viewer.
[

- - - Updated - - -

Bree said:
Thank you. That command works for me.

Can you post a screenshot of the error? It would also help if you can find any related error(s) in the Event Viewer.
Qais Zaland said:
[
That is the screenshot for the error message.
My Computer

8. It's saying it cannot find the path specified. You do have a C: drive? And there is a ProgramData folder on C:?

From a command prompt try the following commands to confirm that the path exists.

C: CD \PROGRAMDATA

If the path exists the prompt should change to C:\ProgramData>
My Computers

9. Bree said:
It's saying it cannot find the path specified. You do have a C: drive? And there is a ProgramData folder on C:?

From a command prompt try the following commands to confirm that the path exists.

C: CD \PROGRAMDATA

If the path exists the prompt should change to C:\ProgramData>
Yes,the path exists.
My Computer

10. Open the Event Viewer and see if you can find the information that Diskpart said it put in the Event Log.

It should be in Windows Logs > System.
My Computers

Page 1 of 2 12 Last

Related Discussions
Our Sites