Deployment Artist
   Minimize

 

The deployvista.com site is finally put to rest...

You find new content on the Deployment Research site, a site filled with articles and video-tutorials on how to deploy operating systems. If you are missing something on the new site, please let me know. You can find me on twitter on my @jarwidmark alias.

You can also search the old deployvista.com article archive below.

Regards / Johan Arwidmark


 Print   
 Blog_List Minimize

 Print   
 Blog_Archive Minimize

 Print   
 New_Blog Minimize
You must be logged in and have permission to create or edit a blog.

 Print   
 Tip on using bcdedit and GUIDs without copy and pasting the GUID... Minimize
Location: BlogsJohan Arwidmark    
Posted by: johan 11/10/2009

You might have noticed when you create entries in bcd using bcdedit, it assigns guid's to the entry, that you need to reference for any following settings you add.

By using a batchfile and som clever for, do command you don't have to type in the guid...

Sample batchfile

set BCD-File=C:\Demo\bcd

for /f "tokens=1-3" %%a in ('Bcdedit /store %BCD-File%  /create /d "WinPE x86" /application osloader') do set guid1=%%c

Bcdedit /store %BCD-File% /set %guid1% systemroot \Windows

Please note that the second line has been wrapped and should be entered as one command...

/ Johan

Permalink |  Trackback

  
 Search_Blog Minimize

 Print   
Copyright Deployvista.com 2006-2012 (c)   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2017 by DotNetNuke Corporation