myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Diskpart and Task sequence

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Diskpart and Task sequence Page: [1]
Login
Message << Older Topic   Newer Topic >>
Diskpart and Task sequence - 7/3/2008 1:51:27 AM   
ldegroot

 

Posts: 49
Score: 0
Joined: 4/28/2007
Status: offline
Hi all

I am wanting to run a custom diskpart script instead of using the in-built task within the task sequencer

How could I go about adding the command in a "Run Command Line" task in the task sequencer?

Am I right in thinking this could work?

Diskpart /s "%Scriptroot%\diskpartscript.txt"  Or
Diskpart /s "%Deployroot%\diskpartscript.txt" 



Cheers

Post #: 1
RE: Diskpart and Task sequence - 7/3/2008 9:38:59 PM   
ldegroot

 

Posts: 49
Score: 0
Joined: 4/28/2007
Status: offline
bump ^

(in reply to ldegroot)
Post #: 2
RE: Diskpart and Task sequence - 7/9/2008 12:36:53 PM   
bluzier


Posts: 287
Score: 1
Joined: 1/7/2002
Status: offline
I know you can do this, because we were for a while.  You'll have to add the diskpartscript.txt file to your boot.wim.  You can then add a task sequence to call the diskpart .txt from there.  Sorry I don't have further details, it's been a while since we did this and no longer use it.

(in reply to ldegroot)
Post #: 3
RE: Diskpart and Task sequence - 7/21/2008 11:02:38 PM   
ldegroot

 

Posts: 49
Score: 0
Joined: 4/28/2007
Status: offline
Thanks for all the rteplies...Bluzier, you were right...by incorporating the diskpart script into the boot.wim file I was able to it by running a command line from the task sequence which looked like this:

Diskpart /s x:\Windows\system32\Diskpartscript.txt


Cheers

Lyle

(in reply to bluzier)
Post #: 4
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Diskpart and Task sequence Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.203