Questions tagged [winpe]

Windows Preinstallation Environment (Windows PE) 2.0 is a minimal Win32 operating system with limited services, built on the Windows Vista kernel. It is used to prepare a computer for Windows installation, to copy disk images from a network file server, and to initiate Windows Setup.

Windows Preinstallation Environment (Windows PE) 2.0 is a minimal Win32 operating system with limited services, built on the Windows Vista kernel. It is used to prepare a computer for Windows installation, to copy disk images from a network file server, and to initiate Windows Setup.

Windows PE is not designed to be the primary operating system on a computer, but is instead used as a standalone preinstallation environment and as an integral component of other setup and recovery technologies, such as Setup for Windows Vista, Windows Deployment Services (Windows DS), the Systems Management Server (SMS) Operating System (OS) Deployment Feature Pack, and the Windows Recovery Environment (Windows RE).

131 questions
0
votes
1 answer

Wireless connection in WinPE 5.1

I need to deploy an image of Windows 8.1 on devices with only one USB port. To facilitate the system, I try to connect WinPE by wi-fi, without success. I get an error 0x000022f when I try to load the driver netvwifibus with drvload. I have no found…
Klavsy
  • 1
  • 2
0
votes
3 answers

Why does my batch file not continue execution after running Diskpart in WinPE?

I am trying to create a batch file to run in WinPE. I would like to know how to run a large batch file which calls diskpart then exits and continues running the batch file. When I call diskpart it just exits after running the diskpart part. I know…
user3008146
0
votes
0 answers

WinPE Powershell prompts inside the PS window vs box with choices (Preferred)

I am making a prompt window which has buttons. The script runs and opens a selection box which is preferred, however when I try using the same method in winpe using the serviceui.exe, it keeps the selections in the PS window. I am not sure if I am…
1BilliumDollars
  • 149
  • 1
  • 3
  • 12
0
votes
0 answers

DISM fails in .bat but runs fine from command prompt

I am trying to write a .bat script that will: create a WinPE image; mount the image; allow me to make changes to the image; commit the changes; and create an .iso image. My script is this: set /p proj_name=What is project name: set /p…
Bbbh
  • 321
  • 7
  • 20
0
votes
1 answer

Wake on Lan after wpeutil shutdown

I've a little big problem with Winpe5.1. I have to WOL the computer after it was shuting down with wpeutil shutdown. The fact is that after the execution of this command, the network card is completly down and seems to have no power. I tried to…
0
votes
1 answer

windowspe - find devices whitout proper driver

I'm trying to automate the installation of drivers with windows PE. After booting PE and looking for the devices I get such an output: devcon status *pci* PCI\VEN_8086&DEV_0C05&SUBSYS_11F41734&REV_06\3&11583659&0&09 Name: PCI standard PCI-to-PCI…
mr netlord
  • 195
  • 1
  • 3
  • 11
0
votes
1 answer

PowerShell: How to create a device in SCCM 2012?

I have the need to create an SCCM object/device from a running WinPE medium using PowerShell. How could one do such a thing? A former employee of the company I am working for has created a C# Web Solution using…
Matthias Güntert
  • 4,013
  • 6
  • 41
  • 89
0
votes
2 answers

Missing Operator in WinPE

I have one Batch file which I need to run in WinPE but I am getting "Missing Operator" error. I am able to run the Batch file in Normal Windows 7. I think in WinPE certain Env. Variable are not working. Can someone please help? Code: rem Print the…
SDG
  • 1
0
votes
1 answer

Powershell Array not working in WinPE but OK on Windows 7

Hi Firstly I have WinPE 4 and Powershell version 4 running other powershell scripts fine in my environment. The issue is with displaying Array information.. On windows 7 running PS Version 4 this works great... I have a Function rounding the size…
LDStewart
  • 117
  • 3
  • 11
0
votes
1 answer

VBscript wscript.shell execute not refreshing in winpe

I have a DISM based imaging solution for use in WinPE as follows: set WshShell = CreateObject("WScript.Shell") Wscript.StdOut.WriteLine "[44m[1;37m restoring image boot partition for " & name & " [0m[40m" Set objExec = WshShell.Exec("DISM.exe…
Steve Hobbs
  • 131
  • 1
  • 5
  • 14
0
votes
1 answer

Changes made in WinPE to x:\ don't stick

I need to automatically update the software I've included with my WinPE image, but whatever changes I make to the flash drive don't stick after reboot. It updates successfully, but the files that I've copied get deleted and the old ones somehow come…
AbaddonVH
  • 15
  • 6
0
votes
1 answer

Create accessible directories with mkdir or md Windows

I'm trying to run a batch script for our WinPE disk, and I want ImageX to back up to a user defined portable hard drive. However, ImageX will not save to a folder or location if it doesn't exist. So I'm running a check inside the batch file to see…
0
votes
2 answers

Why do I get this exception in WinPE 4.0 but not Windows 7/Windows 2012?

I have a WPF .Net 4.0 application that has been running just fine under WinPE 4.0, until recently. I added the code shown below, and it broke the app when running it under WinPE 4.0. Note, the app still runs fine under Windows 7 x64 and Windows…
Dbloom
  • 1,302
  • 3
  • 18
  • 45
0
votes
1 answer

.Net 3.5 app on Win PE 4.0 image

Assuming a WinPE 4.0 image is setup correctly with the WinPE-NetFx4.cab, WinPE-NetFx4_en-us.cab and prerequisite packages like WMI, should an app built in Visual Studio 2008 for .NET 3.5 execute? Or, is the app linked to strong name signed 3.5…
Sundararajan S
  • 1,358
  • 2
  • 14
  • 24
0
votes
1 answer

Variant string conversion in C/C in WinPE environment

I have C/C++ code issue wherein there's WMI query which retrieves instances of Win32_DiskDrive and gets its Size property. This property is retrieved as Variant type and then I have to convert it to UINT64 type which is failing. If I print variant…
Aniket K
  • 1
  • 4
1 2 3
8
9