MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically.
Search the Community
Showing results for tags 'diskpart'.
Found 3 results
anything posted a topic in Unattended Windows 7/Server 2008R2I know drive letter X: is for preboot environment but while partitioning in diskpart i want to assign letter X to my one of my drives. It is showing error as it is for preboot by default can you please let me know how can i do this?
I am attempting to run a light-touch to unattended imaging process from a USB, however i run into an error. I am running an error during the assignment of a drive letters several lines into my batch script. I have a 2 part imaging system that i call a batch file, and it runs through and is supposed to apply my wim as an image. During the part that it calls to for diskpart as part of my imaging i get an error. The initial batch is as follows: diskpart /s part2.txt copy u:\test.wim d: x:\imagex.exe /apply d:\test.wim 1 d: d:\windows\system32\bcdboot d:\windows exit During the diskpart it calls to a text file for the diskpart commands noting: select disk 0 clean create partition primary size=80 select partition 1 format fs=ntfs label="system" quick assign letter=C active create partition primary select partition 2 format fs=ntfs label="windows" quick assign letter=D select disk 1 select partition 1 assign letter=U exit It goes throught the script all the way until it tries to assign drive letter D, then it throws an error. Virtual Disk Service error: The specified drive letter is not free to be assigned. Thusly bunking my entire automation. Everything works flawlessly if i run the entire diskpart section by hand, however it will not work in a diskpart batch. HELP!?!?!
Hello! There are many similar topics regarding Windows 8 deployment... I tried to google and check out as many as I could. Wasn able to solve my issue though. I'm writing here, hoping that someone might be able to help me out. I am trying to deploy Windows 8 put problems with starting it. I have new Samsung laptop, where I have installed Windows 8 Pro. Iinstalled programs, created user-accounts etc.Then I bootel laptop from USB WinPE media and captured C:\ drive as a *.WIM file. So far everyting OK. I got second laptop (same model). Booted it also from Winpe USB media and used Diskpart to clean-create partition and format it as NTFS. I created just this one partition. On that partition I applyed the wery-same image that I previously created. Image was applyed and then started problems. --> bcdboot c:\windows is not working. --> Failure when attemting to copy boot files. --> I also tried bcdboot c:\windows /s c: --> Boot files successfully created. But after this OS isnt booting, still. Anyway, this is where I got stuck. Please help me out.