How do I bypass the New Windows Install and only have to Old Setup?


the winpeshl.ini method is the simplest

Winpeshl.ini is also easy to change or delete or whatever

I have been using it for years in my pe adventures, typically something like this so pecmd.exe can run my instructions in the pecmd.ini file

Code:
[LaunchApp]
AppPath="Pecmd.exe Main %SystemDrive%\Windows\System32\Pecmd.ini"

for a very simple pe the pecmd.ini could be something as easy as this

Code:
DISP W1024 H768 B32 F60
LOGS %WinDir%\System32\Pecmd.txt
#code=936T950
ENVI^ ForceLocal=1
ENVI^ EnviMode=1
NUMK 1
HOTK Ctrl + Alt + d,PECMD.EXE KILL RecEnv.exe
HOTK Ctrl + Alt + r,X:\sources\recovery\RecEnv.exe 
 
IFEX %CURDIR%\EXPLORERFRAME.DLL,
{ REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\\={C2FBB630-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\\={C2FBB631-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\\=Shell Name Space ListView
  REGI ~HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\=%%SystemRoot%%\system32\explorerframe.dll
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\ThreadingModel=Apartment
  REGI #HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\\Browse For Folder Height=400
  REGI #HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\\Browse For Folder Width=318
 }
 
REGI #HKLM\software\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}\LanguageProfile\0x00000000\{0001bea3-ed56-483d-a2e2-aeae25577436}\\Enable=1

 IFEX %CurDir%\PE-7zip.reg,EXEC =REGEDIT /S %CurDir%\PE-7zip.REG
 IFEX %CurDir%\macrium.reg,EXEC =REGEDIT /S %CurDir%\macrium.reg
 IFEX %curdir%\imdisk.cpl,
{
EXEC =REGEDIT /S %CurDir%\pe-imdisk.reg
 }
 
IFEX X:\Program Files\Imagine\Imagine64.dll,
{ REGI $HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\\=Imagine Object 
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\=X:\Program Files\Imagine\Imagine64.dll
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\ThreadingModel=Apartment
  REGI $HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\\{57B47F62-4EE4-4BED-A897-2C63198B876F}=Imagine Shell Extension
 }

REGI #HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\\Hidden=1
REGI #HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\\HideFileExt=0
REGI #HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\\ShowInfoTip=1
REGI #HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\\SuperHidden=1
REGI #HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\\ShowSuperHidden=1

ENVI PECMD=PECMD.EXE
ENVI EDIT=notepad
REGI $HKCR\inifile\shell\PECMD\\=PECMD LOAD
REGI $HKCR\inifile\shell\PECMD\command\\=PECMD.EXE "LOAD "%%L"" %%*
REGI $HKCR\.wcs\=wcsfile
REGI $HKCR\wcsfile\=WCS File
REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
REGI $HKCR\wcsfile\shell\open\command\=PECMD.EXE "LOAD "%%L""
REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
REGI $HKCR\inifile\shell\PECMD\=PECMD load
REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD "%%L""
REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WCE;.WCX;.WCZ
WAIT 500
IFEX %systemdrive%\pedrivers,
{
EXEC !PNPUTIL /add-driver "%systemdrive%\pedrivers\*.inf" /subdirs /install
}
wait 500
IFEX X:\sources\recovery\recenv.exe,
{
SHEL X:\sources\recovery\recenv.exe
}!
{
SHEL PECMD.EXE LOAD %CURDIR%\PEMENUD.WCS
}

EXEC !%curdir%\wpeutil.exe InitializeNetwork
SERV Wlansvc
 
Last edited:

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i5-9400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
The instructions are in the help file

pecmd-help.webp
 

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i5-9400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4351]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
winpeshl.ini is two lines drop it in with 7-zip. It is also very quick and easy to reverse

much easier than :

mounting the wim
loading the hive
making reg changes
unload hive
unmount and commit wim
 

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i5-9400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
And yet your post is six miles long.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4351]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender

Latest Support Threads

Back
Top Bottom