/build/static/layout/Breadcrumb_cap_w.png

K2000 3.6 scripting during OS image deployment

I had a few scripts break. Most of them I was able to get working again after doing some research about the recent changes. Two of them are fighting me, and I'm not the best at scripting.

The first is Windows Two Partitions BCD Fix (3.1). It is a post install mid-level BAT script obtained somewhere on this site.

bcdedit /store D:\boot\bcd /set {bootmgr} device partition=D:
bcdedit /store D:\boot\bcd /set {default} device partition=C:
bcdedit /store D:\boot\bcd /set {default} OSdevice partition=C:

I tried to add cmd /c which did not work and then tried to switch it to a preinstall task which did not work.

The second is Hide OEM partition script. It is a postinstall mid-level application task that calls a text document also obtained from this site.

cmd /c diskpart /s rstdellp.txt     (previously had call instead of cmd /c)

text document:

select disk 0
select partition 1
set id=de override noerr
remove letter=F

I tried to switch this to a preinstall diskpart script which did not run.

I could try a few more things, but I thought I'd at least reach out and see if anyone has already solved this.


0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ