Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Diskpart, Windows PE, read error

Featured Replies

I am trying to achive an unattended installation of Windows XP with SP2

What I want to do is to PXE-boot to an Windows PE v2, unattended partition and format the harddidsk and then install Windows XP unattended.

But the unattended partition and formating of the disk fails.

I am using Diskpart.

My commands basicly looks like this.

[startnet.cmd]

drvload x:\windows\lan\netamd.inf
wpeinit
net use z: \\server01\reminst /USER:[My username] [My password]
x:\windows\system32\Wscript.exe z:\Share\Scripts\install.vbs

[install.vbs]

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "diskpart /s z:\Share\Scripts\disk.txt", 1, True
WshShell.Run "CMD.exe /C echo y | format C: /FS:NTFS /Q /V:System", 1, True
WshShell.Run "CMD.exe /C z:\Share\I386\winnt32.exe /syspart:c: /s:z:\Share\I386 /unattend:z:\Share\unattend.txt /copysource:lang", 1, true

[disk1.txt]

select disk 0
clean
create partition primary
select partition 1
active
assign letter = C

The installation starts and after the first boot I get the error

A disk read error occurred
Press Ctrl-Alt-Del to restart

Can anyone help me with this one?!

I have tried a numbers of different ways, but nothing seems to work.

  • Author

I feel SOOOOO stupid.

I removed /copysource:lang and then it started.

:-)

Well, I might come back when I bump into more problem.

Or perhaps someone has a few tip to give me on the way.

Perhaps you can better post your questions in the Windows PE thread?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.