Windows Imagex network commands help please

Post » Wed Nov 14, 2012 8:43 pm

A bit of a random issue i have which i hope i can put in this forum.

Im trying to use imagex on a VM of windows 7 to capture it in its current oobe state. But that first involved telling imagex booted in WinPE where to put the img. I have a network drive on another VM of windows server 2008 r2 where i wish to copy it to, so after i booted up with winpe on the vm i want to image i type:

the default line --> (X:\windows\system32> (then my command)

so appears as: X:\windows\system32>net use h: \\VM-SER2008R2\Windows Files /u:VM-SER2008R2\Administrator

so am telling it to use my network drive and put it in my windows files folder logging in with the admin account, but then it comes and tells me:

System error 86 has occured, The specified network password is not correct

But it hasnt even asked for my password yet, do i have to enter it as another command on the end of the above string? Anyone know what to do?
Ive tried disabling firewalls, added a LmCompatibilityLevel 1 dword into the registry with no luck.

This is what im trying to follow http://www.professormesser.com/microsoft-70-680/capturing-an-image/
User avatar
kyle pinchen
 
Posts: 3475
Joined: Thu May 17, 2007 9:01 pm

Post » Thu Nov 15, 2012 7:13 am

Net use uses your current system password unless otherwise explicitly stated the correct command would be

net use h: "\\VM-SER2008R2\Windows Files" /u:VM-SER2008R2\Administrator &--#60;password&--#62;


I also put the UNC path in quotations because there's a space in it. directories with spaces need to always be put in quotations when in the command line. It's also better to NOT use spaces in your directories and usernames whenever possible as certain commands will not work with spaces (don't follow the quotation rule)

You should always read the man page Microsoft Documentation page (or the SS64 page) on windows commands if you have an issue. You'll usually find the solution in there. This wasn't an imagex issue.
User avatar
John Moore
 
Posts: 3294
Joined: Sun Jun 10, 2007 8:18 am


Return to Othor Games