Quantcast
Channel: Windows PE Latest Topics
Viewing all 72 articles
Browse latest View live

WinPE 4.0 Explorer.exe

$
0
0

I have been experimenting with making a WinPE 4 and I am trying to get explorer.exe to run. I know windows 8 has not been finalized and things might change in the final version but I just wanted to experiment with it a bit and see if I can get it to work.

So far I can run explorer from the command window and it starts but the desktop and taskbar are not working correctly. Both the desktop and taskbar are blank. I can right click on the taskbar and start task manager but no icons are created on the task bar to show running programs. I can right click on the desktop and select create new folder but nothing appears on the desktop. A new folder is created at X:\windows\system32\config\systemprofile\desktop, its just not visible on the desktop.

I can also right click and select personalize and the control panel will open.

Here is what I have done so far to get explorer working:

After mounting the winpe.wim,

I used dependancy walker to get a list of all files needed by explorer.exe. Copied all of these files into the mounted wim without overwriting any existing files.

Copied folders:

Windows\en-us

System32\en-us

System32\migration

Windows\Branding

WinSxS\common-controls

WinSxS\gdiplus

All .cpl, .exe, and .msc files from system32.

I have exported from the install.wim registry hives:

Software\Classes

Software\Microsoft\Windows\CurrentVersion\Explorer

Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Software\Microsoft\Internet Explorer

Default\Software\Microsoft\Windows\CurrentVersion\Explorer

Set System\ControlSet001\Control\ProductOptions\ProductSuite=Terminal Server

I have also tried importing the entire Software key from install.wim.

I have replaced all “C:\” with “X:\” and all “43,00,3a,00,5c,00” with “58,00,3a,00,5c,00”

Removed all references to "RunAs"="Interactive User"

I also tried copying all dll files from install.wim system32 without overwriting anything.

These are about the steps that have worked for passed versions of windows so I don't know yet what might be different for windows 8.

Any other files I should add? Services maybe? Any registry changes I should make?


A Step by Step guide to setting up WDS for PXE

$
0
0

I wanted to post this guide here. I was just tasked with creating a test network where a computer can boot to the network via PXE and load up the WinPE. Hopefully this guide will help someone! NOTE: this is just an example of how to set this up, but after many attempts I found it to be the easiest.

What you need to begin

2 Servers running some form of Server 2003 SP1 or better

Microsoft Windows AIK

Windows 2003 Server disc 1

MSXML6 installer (newest... the one on the AIK iso doesn't always work)

1. Setting up the WDS Server

To begin, I took an existing Server 2003 Standard PC to use as the Domain Controller.

- set a static IP address that resides outside your projected scope; ie: static 192.168.0.5, projected 192.168.0.10-192.168.0.199.

- Follow the instructions on KB 324753 (DC promo)

- Create an new user account and assign it to the Domain Users group.

- Manage Your Server and add the DHCP role.

- Install WDS with Add/Remove Windows components.

- run the WDS update from the AIK DVD.

- Install MSXML6.

- Install .NET Framework 2.0 from the AIK DVD.

- follow the instructions to create WinPE boot media.

- Open WDS and verify or add your server (itself aka UncleSocks) to the list.

- Choose to add a new Boot Image, and select the winpe.wim file from c:\winpe_x86 or wherever you put it.

-- Look at the properties of your server and set the following:

- On the PXE Response Settings tab: Respond to all (known and unknown) client computers (alternatively you can add known computers to the domain with the AD Users and Computers tool and select the Respond only to known client computers option).

- on the Boot tab, change 'x64 architecture' option in the 'Default boot program' section to read 'boot\x86\pxeboot.com'

- on the Boot tab, change 'x64 architecture' and 'x86 architecture' options in the 'Default boot image' section to 'boot\x86\images\winpe.wim'.

- on the DHCP tab, select 'configure DHCP option 60 to PXEClient'

- on the Advanced tab, select 'No, do not authorize the Windows Deployment Services server in DHCP'.

2. Setting up the DHCP Server

- set a static IP outside the projected scope ie 192.168.0.6.

- join the computer to the Domain using the account you created on the WDS and restart, but log back in as administrator (local).

- From Computer Management, go into the groups and add Domain\Domain Users to the COMPUTER\Administrators group.

- Log off Administrator (local) and log into the domain.

- Manage Your Server and add the DHCP role.

- Create a DHCP Scope for the range you want, such as 192.168.0.10-192.168.0.199.

- Set the DHCP lease time to 3 hours (the default is 8 days)

- make sure your scope is activated.

3. Authorizing the DHCP Server

- on the WDS Server, in the DHCP cpl, choose Action->Manage Authorized Servers.

- click Authorize and type in the IP address of the DHCP Server.

- connect another computer to the network and verify that it can get an IP.

4. Setting up PXE on the DHCP Server

- in the DHCP cpl, expand your scope and right Click on Scope Options and select Configure Options.

- select option 66 and type in the computer name of the WDS (ie: unclesocks)

- select option 67 and type in '\boot\x86\wdsnbp.com'

- select option 6 (DNS Servers) and type in the IP for the WDS server.

- select option 3 (Router) and type in the IP for the WDS server.

With this example you should be able to boot from the network and load up the WinPE from the server. Also this presumes you are going to use Native Mode for WDS. And I realise some security measures weren't taken but this is just a guide. You can set your security up anyway you like really. You can also use whatever WIM you want. For my test I chose the one that the AIK makes. You could very well use a default Vista one or whatever other one you made. I also left out instructions to install the AIK since it isn't supposed to be on the WDS. I installed it on the WDS because I didn't feel like copying it from my workstation, besides I wanted to run through the commands again.

That should just about do it. Its kinda annoying because the documentation for this is all over the place. If I left something out, let me know. I just ran this list down from memory o_O Anyways there are a lot of little options dealing with parts of Server that aren't in the WDS that you run into.

Running MMC within WinPE

$
0
0

Does anyone know what files are needed to run the MMC under WinPE?

I have copied the following files to the I386\sys32 dir, however I still can't get the MMC to run...

MMC.exe

MMCBase.dll

MMCndmgr.dll

MMCshext.dll

Does anyone have any ideas?

Michael.

.HTA backgrounds in WinPE

$
0
0

I am trying to get a .bmp to be the background of a .HTA file in windowsPE and it is just not working. I am wondering if anyone knows a way to make this work. I don't want to have to add explorer and IE to make this work either, so if anyone knows of a way please feel free.

Here is the begining of the .hta file

<HTML>
<HEAD>
   <TITLE>WinPE Recovery and Install disc</TITLE>
   <HTA:APPLICATION
ID="oApp"
WINDOWSTATE="Normal"
BORDER="none"
INNERBORDER="Yes"
SHOWINTASKBAR="yes"
SCROLL="No"
APPLICATIONNAME="WinPE Recovery Console"
NAVIGABLE="yes">

<style type="text/css">
 TD {font-size:8pt}
 input {font-size:8pt}
 H5 {font-size:10pt; font-style:bold}
</style>
</HEAD>
<BODY BGCOLOR="000000">
<BODY BACKGROUND="file:///%systemdrive%\i386\system32\InstallBG.bmp">
<FONT COLOR="White" FACE="times">
<H2><Center>Welcome to the WinPE Installation and Recovery CD.</Center></H2>
<Center>Designed by Likuidkewl</Center>
<script language="VBscript">
Dim WshShell : Set WSHShell = CreateObject("Wscript.Shell")
Dim WshNetwork : Set WshNetwork = CreateObject("WScript.Network")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")

sub window_onload()
window.resizeto 640, 480
window.moveTo 112, 84
end sub

How to install GUI on Win 10 PE?

$
0
0

 

I make a windows 10 pe, but i do not know how to install GUI on Win 10 PE?

Now I just install https://explorerplusplus.com/ as the explorer.

 

snowdreamtech/WinPE: WinPE Builder (github.com)spacer.png

Help:please list some softwares or tools for WinPE.

$
0
0

I find there are few tools which can be install on WinPE.

Can you list some softwares or tools for WinPE.

Thank you.

[SOLVED] PXE Boot Different Subnets Microsoft WDS Server

$
0
0

Hi All,

I was wondering if you could help....?

I've setup a Microsoft Server 2016 WDS Server at LocationA, and on the local LocationA LAN it works fine. Local PCs get a DHCP address from the local switch, the PC PXE boot finds the WDS server and the imaging works fine.
Note, there is no DHCP configuration on the WDS server.

At LocationB, the LAN is on a different subnet, however routing is working between the two locations (A and B) and I can ping the WDS server from LocationB LAN switch, as well as LocationB PCs logged into Windows, so the routing appears to be OK.

When I try and PXE Boot from LocationB, the PXE PC gets the correct IP and Default Gateway Information from the LocationB LAN/DHCP pool, however once the PC has downloaded the boot file i then get "TFTP download failed". I can see the download has been successful is the WDS Event Viewer. In order to get this far, I've had to set the TFTP block size to 512. Changing this value to anything else causes my PC at LocationB to get a TFTP Timeout error during the PXE boot.

My configuration on the LocationB switch is....

DHCP Pool: option 66 ip <LocationA WDS IP Address>
DHCP Pool: option 67 ascii Boot\x64\pxeboot.com
DHCP Pool: next-server <LocationA WDS IP Address>
 

Any help would be apprieciated

 

Cheers

 

Swain90

launcher app for 64bit WinPE (nu2menu alternative)

$
0
0

I'm looking for a replacement for the ol' trusty nu2menu for 64bit WinPE. I don't need anything fancy, it only need the same feature level as nu2menu provided: a simple menu to launch applications, driven by a text file.

At first I saw this: http://winpe.codeplex.com/

But it's too complex for my taste to customize: you need to edit the .hta, then a .vbs, and then create an image file with the icon and caption


How to add WOW64 to a Win10 RE

What Shells are available for WinPE

$
0
0

I am a n00b when it comes to WinPE. I have a CD that I wrote several years ago that has all of my diagnostic tools and AV software on it; however, I think it is time that I upgrade to PE. I would prefer to use the M$ PE as I am a system builder and have the OPK CD's. I have been having some issues running a shell program. I am looking for a shell that looks and function similar to XP and has a "Start Menu" and Desktop, etc. I have seen screenshots of some of the PE disks and I must say they look good. What shell programs do you use?

Thanks in advance.

Gena

$
0
0

Gena is an extremely flexible PE1 project which uses Explorer as shell, supports SATA/IDE drives (thanks to DriverPacks), USB devices, and many other features and tweaks. Gena builds from a Windows™ XP/2003 Install CD.

Features of Gena:
 

  • Gena uses saydin77 Builder Core (the best ever), which is the first opensource, first multi-architecture, first multi-language supporting core. Gena supports all multi-language sources (e.g., Arabic, Chinese, English, Greek, Japanese, Hebrew, Turkish, etc.). Supported combinations of architecture and service packs are: XP-x86-SP3 (Adviced), XP-x86-SP2, 2k3-x86-SP2, 2k3-x86-SP1, XP/2k3-x64-SP2, XP/2k3-x64-SP0.
  • By default, Gena boots fine with 96 MB available RAM (128 MB advised). Of course, RAM requirement can be easily lowered with some techniques (but we do not believe today’s users have PC with lower than 96 MB available RAM). Depending on which script selections are made and how many apps are included, Gena builds at around ~60 MB with full mass storage driver support. Using WimBoot Gena builds at around ~30 MB, which makes for easy and quick booting (esp. PXE booting conditions).
  • Gena is fully opensource on PE1 building steps, including tweaks, with all credits referenced correctly.
  • Profile handling is now significantly improved, with all localised names able to be utilised.
  • More up-front and organised “Basic” level scripts which allow for easy setting of important build options.
  • Four Backup/Restore scripts have been added to substantially simplify rebuilding the project from a given state and/or stage.
  • Boot time has been greatly improved in most cases due to the addition of new scripts which unmount floppy drives at early boot (thanks to Blue Life).
  • “Adjunct”-type scripts have been relocated for organisation.
  • “Component” scripts have undergone the following improvements:
  • Pre-Build Shortcut creation now done perfectly helping to boot faster (without requiring fix-after-boot workarounds that cause delays). (Thanks to Galapo and The Great Au3 team)
  • Gena now explicitly supports multi-boot scenarios with provision made by way of “OtherOS” organisation à la PE2/3 (script level 7) in conjunction with BootsectorPE script.

Many, many thanks to ALL who have contributed so far!

We hope you like Gena as much as we do!

Gena Homepage: http://Gena.cwcodes.net/
Gena Home forum: http://TheOven.org


Gena Packages: http://Gena.cwcodes.net/Compressed/
Gena Hot Files Server: Gena.cwcodes.net

Gena Hot Files can be obtained through the winbuilder Download feature using the following address: Gena.cwcodes.net

Alternatively, a (generally up-to-date) archived of Gena can be obtained here.

An index of plugins may be found here.

Regards,

Galapo & Lancelot.

Ps. Some screen shots from various Themed Language builds of Gena:

Gena English Small Picture:
2dbmewx.jpg

 

Full sized Pictures:
Gena English
http://gena.cwcodes.net/files/gena_pictures/Gena_t_English.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_English.png
Gena English x64 with WOW64
http://gena.cwcodes.net/files/gena_pictures/Gena_t_x64_with_WOW64.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_x64_with_WOW64.png
Gena Japanese
http://gena.cwcodes.net/files/gena_pictures/Gena_t_Japanese.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_Japanese.png
Gena ChineseHongK
http://gena.cwcodes.net/files/gena_pictures/Gena_t_ChineseHongK.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_ChineseHongK.png
Gena Turkish
http://gena.cwcodes.net/files/gena_pictures/Gena_t_Turkish.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_Turkish.png
Gena Russian
http://gena.cwcodes.net/files/gena_pictures/Gena_t_Russian.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_Russian.png
Gena Arabic
http://gena.cwcodes.net/files/gena_pictures/Gena_t_Arabic.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_Arabic.png
Gena Greek
http://gena.cwcodes.net/files/gena_pictures/Gena_t_Greek.png
http://gena.cwcodes.net/files/gena_pictures/Gena_c_Greek.png

Trying to copy ERD Commaner 2005 programs to BartPE install

$
0
0

I'm trying to copy the ERD computer and disk management tool (among others) to my Bart PE distribution, but I am having trouble finding and copying the right dependencies. Does anyone know any tools (like dependency walker) that copy the right DLLs a program needs to the same folder?

Viewing all 72 articles
Browse latest View live