Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DiskPart and Network Share question

15 Feb 2015   #1
doctore

Windows 7 Pro
 
 
DiskPart and Network Share question

I'm trying to install Win7 from a network image, but I am running into a problem before I even began

OK, here is the deal: I have a simple DiskPart script (copied directly from Microsoft) that is on the same network share the image is on. I have booted the targeted computer with PE and added the network share with letter "N" (logged in and everything). But when I try to run the script - I get an error, as shown on the screenshot below.

You can see that the network share is mapped and the script exists. (on the left is the server).
Btw, I tried running "diskpart /s n:\configscript.txt" but that just gives me a list of the diskpart commands.

P.S. For what is worth, if I run "notepad n:\configscript.txt", the script opens just fine. So I guess I am looking for a way to run n:\configscript.txt from DiskPart, if that makes sence

Any help would be greatly appreciated!




Attached Thumbnails
DiskPart and Network Share question-diskp.jpg  
My System SpecsSystem Spec
.
16 Feb 2015   #2
gregrocker

 

I'd take that question to Technet which handles more IT Pro questions like this, while we are almost entirely a consumer forum.
My System SpecsSystem Spec
16 Feb 2015   #3
Ztruker

Windows 10 Pro X64
 
 

Just a guess, but have you tried

diskpart /s n:\configscript.txt or diskpart /s "n:\configscript.txt"
My System SpecsSystem Spec
.

17 Feb 2015   #4
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by doctore View Post
I tried running "diskpart /s n:\configscript.txt" but that just gives me a list of the diskpart commands.
They way you've executed the script is absolutely correct (diskpart /s n:\configscript.txt). The problem lies within the actual configscript.txt diskpart-script file: it contains a syntax error somewhere (which is why diskpart spits you a list of valid diskpart commands).
My System SpecsSystem Spec
17 Feb 2015   #5
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by doctore View Post
I'm trying to install Win7 from a network image, but I am running into a problem before I even began

OK, here is the deal: I have a simple DiskPart script (copied directly from Microsoft) that is on the same network share the image is on. I have booted the targeted computer with PE and added the network share with letter "N" (logged in and everything). But when I try to run the script - I get an error, as shown on the screenshot below.

You can see that the network share is mapped and the script exists. (on the left is the server).
Btw, I tried running "diskpart /s n:\configscript.txt" but that just gives me a list of the diskpart commands.

P.S. For what is worth, if I run "notepad n:\configscript.txt", the script opens just fine. So I guess I am looking for a way to run n:\configscript.txt from DiskPart, if that makes sence

Any help would be greatly appreciated!
diskpart /s n:\configscript.txt

but you did: diskpart /s configscript.txt !!!
My System SpecsSystem Spec
Reply

 DiskPart and Network Share question




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Basic Question: How do you share a folder between home computers?
With XP, this was rather simple and it worked. With Windows 7 that's not the case. I've tried different routers. I have Windows 7 x64 Pro on my desktop and Windows 7 Home Premium on my HP Laptop. I want to share my videos and watch pics on my laptop. Seems like a rather basic question,...
Network & Sharing
A simple question about diskpart /clean all
Hello, I am going to give away a computer of mine since it's old and stays there unused. At same time I don't want any signs of my data being on that computer, so I am currenty running diskpart /clean all command for both of the HDD's inside the computer. My question is, would that be enough...
General Discussion
Diskpart Quick Question!
Hey folks, I'm doing a clean install of windows 7 but I have 3 partitions on on 1 TB Drive. My question is I just want to wipe a partition with diskpart but not the other two. So I'm gathering after I select the disk and then the particular partition I want to wipe and then enter the command...
Installation & Setup
Network Share Issues
Hi, everyone. I have a home network with 5 nodes. All five nodes can see each other but cannot share each other's files and folders. Scenario: Laptop #1 Win 7 x64 Laptop #2 Win 7 x64 Desktop #1 Win Vista x32 Desktop #2 Win Vista x32 Desktop #3 Win 7 x64
Network & Sharing
Diskpart question
In using Diskpart for the first time (in a win 7 clean install) I found the "clean all" command zeroed sectors for the entire drive, i.e. all partitions. I'm getting ready to Install Win 7 on my laptop. I would like to clean ONLY Drive C: and preserve all the remaining partitions. Is it...
Installation & Setup
network not letting me share
i have 5 pcs all running windows 7 ultimate on my network through a d-link router, 3 are wired and 2 wireless. 2 of the pcs are only on when i use other 3 on all the time one of which has my printer connected. my problem is i can see the 2 other pcs ( ones on permanent) but it tells me i cant...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App