Jump to content


Photo

Windows 11 PE Audiophile Creation Guide


  • Please log in to reply
433 replies to this topic

#421 Dev

Dev

    Die Hard

  • Members
  • PipPipPip
  • 239 posts
  • LocationBay Area, CA

Posted 30 October 2022 - 09:48 PM

Apologies for my late response.
I want to clarify that WinPE is simply a network Audio Render in my case. It operates flawlessly without a monitor. Turn-on from the power button and WinPE loads all what required, including the Accuphase AISO driver. JCat Network card from WinPE connects to an audio switch. That same audio switch connects to another audio switch, which connects to 2 servers. One is HQPlayer embedded server, and another is Rooncore 2.0. JCat USB XE from WinPE is USB connecting to Accuphase DC-1000.
Whenever I want to shut down WinPE, I insert the USB keyboard and press the window logo key, followed by the upper arrow key, then press enter key, followed by the tab key and enter key again to shut down. I do not need monitor to turn off or restart. With restart WinPE, the tab key instruction is not required.

 

Looks like you are doing a process level isolation which is great but it could also introduce more latency in the system. By any chance and I am curious, do you up-sample in HQP ?



#422 Chanh

Chanh

    Die Hard

  • Members
  • PipPipPip
  • 137 posts

Posted 31 October 2022 - 01:07 AM

Looks like you are doing a process level isolation which is great but it could also introduce more latency in the system. By any chance and I am curious, do you up-sample in HQP ?


Yes, all PCM is upsampling to 352k or 384k relative to source family frequency. DSD material is upsampling to DSD256.

Do you think latency is an issue here? Each server does specific task and I forgot to mention that all my digital lib is stored on a NAS, which is also connected to a switch.

#423 Asura

Asura

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 15 November 2022 - 09:30 AM

 

HOW TO MAKE WIN11PE AUDIO WITHOUT USING WIN10XPE:
 
1. Extract WINRE.WIM from Windows 11 Installation ISO (22000.194 or 22000.318)
2. Apply image with DISM or DISM++ on VHD mounted on HOST OS, or on USB flash drive. (flatboot VHD or flatboot USB)
3. Copy Explorer++.exe to \Windows\System32 on the mounted VHD or USB flashdrive.
4. Boot from flatboot VHD or USB.
4. Install necessary drivers as explained in the guide attached to the first post of this thread.
5. Install audio applications (audio players) in portable mode, or in normal mode, the latter requires more work, according to the instructions in the aforementioned guide.
 
6. In case of "side by side" error when running an application, do the following:
 
a. Boot a previously created Win11XPE with the Win10XPE application, or create one if you don't have one.
b. Open registry (regedit.exe) and search for the "winsxs" and "sidebyside" keys and export each found key to .reg files and save them.
c. From the host or from Win10PE Strelec (RemoteRegistry) mount VHD flatboot or USB flahdrive and import the previously saved "winsxs" and "sidebyside" registry keys.
 
7. In case you use applications that need SysWoW64 (32bits) and they don't work:
 
a. Run the application from Windows 11 (22000.194 or 22000.318) "normal", or from Windows 11 XPE audio if it is built.
b. Run Processhacker, select the required application, right mouse button>properties>modules> see all the files used by the application and which ones are in \windows\syswow64, done this, copy them to "\windows\syswow64" of the flatboot mounted on the host OS (VHD or USB flash drive).
c. If it still doesn't work, export from Win11XPE "wow6432node" branches of HK CLASSES ROOT and HK LOCAL MACHINE and then import them as explained for "winsxs" and "sidebyside".
 
Now at least in my case everything works fine, I have a Win11PE AUDIO "CORE" with IFIAUDIO ASIO and DIYINHK ASIO drivers, and Infinity Blade + Foobar2000 portables installed and running, the total size is 377 MB, and the number of running processes is 20, unrefined, being able to reach 10, as explained throughout this thread.
It's another way to build an audiophile Win11PE, without using Win10XPE.
In case we want to have a desktop, we only have to copy the "winxshell" folder that is in \Program Files in the flatboot VHD or in the flatboot USB of Win11 XPE audio, to \windows\system32 of the newly created Win11PE Audio; and then edit the file \windows\system32\starnet.cmd and add the following line (without quotes)
 
"\windows\system32\winxshell\winxshell -winpe"
 
This will boot the desktop directly.
 
Advantages compared to the other method, smaller size, fewer number of processes running as a base, and slightly better sound.
Disadvantages, it is somewhat more uncomfortable, similar to Server Core, if you put the desktop with winxshell the shortcuts are not preserved, I have not managed to keep them
Because every time you start the system, the desktop is recreated.
Worth?
The answer depends on each one, whoever is a tweaker surely yes.

 

 

I'm in a non-English country! Sorry

 

I also have no IT expertise. I tried to follow your instructions to do Win11PE but no success. Could you please give me the Win11PE ISO. Many thanks



#424 internethandle

internethandle

    Die Hard

  • Members
  • PipPipPip
  • 267 posts

Posted 15 November 2022 - 10:14 PM

I'm in a non-English country! Sorry

 

I also have no IT expertise. I tried to follow your instructions to do Win11PE but no success. Could you please give me the Win11PE ISO. Many thanks

 

Unfortunately, it is not legal to share a customized Windows ISO of any kind, so this will not be possible. You will need to do the steps on your own. We can try to help you if you can say where you are stuck. If you have not tried to make a Win 11 PE ISO with Win10XPE yet, you should try that first, because the instructions from samotc that you quoted is a more advanced method. You can find instructions for how to build Win 11 PE from Win10XPE in the original post of this thread and/or within the first few pages.

 

Good luck.


  • Asura likes this

#425 ts8

ts8

    Beginner

  • Members
  • 31 posts

Posted 16 November 2022 - 03:44 AM

Unfortunately, it is not legal to share a customized Windows ISO of any kind, so this will not be possible. You will need to do the steps on your own. We can try to help you if you can say where you are stuck. If you have not tried to make a Win 11 PE ISO with Win10XPE yet, you should try that first, because the instructions from samotc that you quoted is a more advanced method. You can find instructions for how to build Win 11 PE from Win10XPE in the original post of this thread and/or within the first few pages.

 

Good luck.

 

Thanks for the encouragement!

 

I's able to build RAMDisk OS but I got stuck in this WinPE for Jplay. I'll seek help when I revisit WinPE not in near future because I'm enjoying RAMDisk OS and MCLEES now! 



#426 lint

lint

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 17 November 2022 - 04:58 PM

Hi,

 

I am very thankful to samotc, internethandle and seeteeyou for this project. I don't have any background in computer ( I am a mechanic) but following this forum, I was able to create a Windows 11 running in vhd. Applications and drivers installed and I was able to play music. My only issue (minor) is I observe a command prompt and windows explorer (in pairs) that are automatically open and minimize in the taskbar everytime I reboot the computer. 

Also, following samotc's guide in creating an alternative way of making Windows PE in vhd; I was able to create one and open explorer++ but I can get through the step of installing applications/drivers. I always got an error " application can't run on this computer". Please help and thank you in advance.



#427 samotc

samotc

    Die Hard

  • Members
  • PipPipPip
  • 133 posts
  • LocationSalamanca, Spain

Posted 19 November 2022 - 10:46 AM

Hi,

 

I am very thankful to samotc, internethandle and seeteeyou for this project. I don't have any background in computer ( I am a mechanic) but following this forum, I was able to create a Windows 11 running in vhd. Applications and drivers installed and I was able to play music. My only issue (minor) is I observe a command prompt and windows explorer (in pairs) that are automatically open and minimize in the taskbar everytime I reboot the computer. 

Also, following samotc's guide in creating an alternative way of making Windows PE in vhd; I was able to create one and open explorer++ but I can get through the step of installing applications/drivers. I always got an error " application can't run on this computer". Please help and thank you in advance.

 

 

1. Regarding your first question:
 
Mount the vhd on your host OS
Then go to "windows\system32" and there edit the file "pecmd.ini"
Inside the file look for the lines that refer to "explorer.exe" and "cmd.exe" , if you find a line that makes any of the 2 programs run, cancel it by introducing the "=" character (without quotes) after the  character "//" which is at the beginning of that line.
This will prevent such programs from launching.
 
 
2. Regarding your second question:
 
I understand that you can't install the applications or drivers you need, right? because I get the message "application can't run on this computer".
This message appears because there are probably missing files in "windows\system32" for the applications and drivers you want to install, also if you use 32-bit apps you must have a "windows\SysWoW64" folder that contains the necessary files for these apps and drivers .
The only way, that I know of, to find out what files you need requires the use of a program (ProcessHacker), go through the instructions a little higher in this thread and you will find out how to use it.
A greeting and good luck.


#428 seeteeyou

seeteeyou

    Die Hard

  • Members
  • PipPipPip
  • 230 posts

Posted 19 November 2022 - 01:27 PM

The latest version of System Informer (formerly Process Hacker) seemed to be even more convenient, nightly builds could be found here

 

https://github.com/w...builds/releases

 

Version 3.0.5578 as follows, we could actually export what we actually need to plain text files as shown below

 

https://github.com/w....0.5578-bin.zip

 

pU4OhiK.png

 

YpNLVGS.png

 

 

 

FYI - here's yet another tip for obtaining a list of specific files that we need to copy from "regular" versions of Windows 11, sometimes we might not have any internal drives installed at all and therefore we might consider giving Windows 11 To Go a try with either Rufus or Ventoy

 

https://github.com/p.../rufus/releases

 

How To Make A Windows 11 To Go USB Stick For A Noncommittal Joy-Ride
 
How to Run Windows 11 on a USB Drive (and Take it With You)
 
How to create a Windows to Go version of Windows 11
 
How to create Windows 11 bootable USB using Rufus
 
What Is Windows To Go Windows 11? How to Create a Portable USB?

 

 

 

https://github.com/v...Ventoy/releases

 

Quick Tip to Easily Install Windows 11 with Ventoy
 
Ventoy Windows 11 To Go
 
 
 
Personally I'd rather grab a copy of the latest Windows 11 ISO image with all cumulative updates integrated, here are some examples
 
 
As soon as an ISO image is downloaded successfully, always remember to verify that with Windows and Office Genuine ISO Verifier right away
 


#429 seeteeyou

seeteeyou

    Die Hard

  • Members
  • PipPipPip
  • 230 posts

Posted 30 November 2022 - 04:45 PM

Beta 14 of (64-bit) foobar2000 2.0 seemed to be OK so far, pretty darn cool if you ask me

 

Improved compatibility with stripped down Windows 10 distributions.

 

 

 

BTW, Sergei Strelec should be alive and well since his new web site went live

 

https://sergeistrelec.name

https://msfn.org/boa...sergei-strelec/

Ukraine

 

Looking forward to new releases of his Windows PE.

 

 

 

BareBone OS Tool for Win7 / Win10 / Win11 / Server 2022 ( Based on MSMG Toolkit [ Awesome Toolkit to Service M$ OS Image Offline ] ) >>>>>
Spoiler

 

Supposedly it's gonna look just like this, maybe not a bad choice for those of us who would like to have a more stripped down version of "regular" Windows instead of going for Windows 11 PE?

 

aIsiRjj.png


  • samotc, dequad and mos777 like this

#430 samotc

samotc

    Die Hard

  • Members
  • PipPipPip
  • 133 posts
  • LocationSalamanca, Spain

Posted 01 December 2022 - 03:01 PM

Thanks, seeteeyou. 

 

Thanks to F2k beta 14 I can have a W11PE Audio without SysWow 64 and with drivers (IFIAUDIO and DIYINHK), F2K 2.0 beta 14 and Bughead (Infinity Blade) I have been able to reduce the size of Windows 11 PE Audio (not XPE) up to 264 MB !!

 

WOW!!!



#431 mos777

mos777

    Newbie

  • Members
  • Pip
  • 1 posts

Posted Yesterday, 01:18 AM

Win10 | 11 | Server 2022 : Start 1-Update.cmd to Update your Offline image to latest. After image is updated using correct steps with 1-Update.cmd then simply click on startw10bbos | startw11bbos | startserverbbos as per your OS project you are doing & wait for almost 1.5 hours to complete which will result in a Most Minimal Disk Size BareBoneOS.iso at root of your Project Directory.

Hello! There is no file startserverbbos in the version of BareBone OS tool that you offer for download, only startw10bbos | startw11bbos .



#432 seeteeyou

seeteeyou

    Die Hard

  • Members
  • PipPipPip
  • 230 posts

Posted Yesterday, 03:09 AM

Hello! There is no file startserverbbos in the version of BareBone OS tool that you offer for download, only startw10bbos | startw11bbos .

 

Welcome to the forums.

 

FYI - they're still working on that

 

yes friend it does not contain server script as only server scripts will be uploaded in any day of dec 2022. i think almost arround 15th after each & every check is done with no any negative results. i hope you can undersrtand.

 

Personally I'm also interested in Windows Server 2022 myself since it might be possible to extract some packages related to NFS Server, then we could add them to Windows PE and turn something into a file server of some sort

 

https://learn.micros.../nfs/deploy-nfs

https://www.snakeoil...id=3893#pid3893

To me, MPD with NFS produces the best sound.  uPnp can't produces such sound.  But sadly there are some players accept upnp rather then NFS, as upnp it is supported widely in streaming and OPENHome.

 

 
 

Thanks, seeteeyou.

 

You're very welcomed, samotc.

 

Recently foobar2000 was compared to other software players but they're simply running "regular" Windows versions instead of Windows PE

 

https://alpha-audio....ver-foobar-wmp/

https://alpha-audio....-foobar-jriver/

https://alpha-audio....in-the-chaos/3/

 

As usual foobar2000 didn't sound as good as the others, though it's more likely to get different results if they're actually switching to Windows PE.

 

 

 

Audirvāna turned out to be one of those UWP apps and therefore it's even trickier to put something like that on Windows PE, though we might have better luck with FactoryOS

 

https://learn.micros...ktop/factoryos/


  • mos777 likes this

#433 samotc

samotc

    Die Hard

  • Members
  • PipPipPip
  • 133 posts
  • LocationSalamanca, Spain

Posted Yesterday, 07:30 AM

Welcome to the forums.

 

FYI - they're still working on that

 

 

Personally I'm also interested in Windows Server 2022 myself since it might be possible to extract some packages related to NFS Server, then we could add them to Windows PE and turn something into a file server of some sort

 

https://learn.micros.../nfs/deploy-nfs

https://www.snakeoil...id=3893#pid3893

 

 
 

 

You're very welcomed, samotc.

 

Recently foobar2000 was compared to other software players but they're simply running "regular" Windows versions instead of Windows PE

 

https://alpha-audio....ver-foobar-wmp/

https://alpha-audio....-foobar-jriver/

https://alpha-audio....in-the-chaos/3/

 

As usual foobar2000 didn't sound as good as the others, though it's more likely to get different results if they're actually switching to Windows PE.

 

 

 

Audirvāna turned out to be one of those UWP apps and therefore it's even trickier to put something like that on Windows PE, though we might have better luck with FactoryOS

 

https://learn.micros...ktop/factoryos/

 

Obviously in "full" Windows "F2k" sounds inferior to other players, while in PE it sounds much better than the rest, except Infinity Blade by Oryaaa. The reason for this (superior F2k sound in WinPE) is not very clear to me.
 
The pity is that the F2K x64 doesn't have a RAMdisk plugin yet, and this makes the difference to the Infinity Blade even greater than its 32 bit version, actually the Ramdisk add-on makes it sound noticeably better. I guess it will be a matter of time before a 64-bit RAMdisk add-on appears.
Another aspect to highlight in PE is that Minorityclean does not improve SQ, I would even say that it makes it worse, but not Rewritedata, which gives a little more precision and focus.
 
What I have noticed is that in this very small Win11PE (268 MB with WinxShell) the loading time of Infinity Blade has been reduced considerably, making it more comfortable to handle.

 

Best regards

 

 

 



#434 seeteeyou

seeteeyou

    Die Hard

  • Members
  • PipPipPip
  • 230 posts

Posted Yesterday, 12:58 PM

The pity is that the F2K x64 doesn't have a RAMdisk plugin yet, and this makes the difference to the Infinity Blade even greater than its 32 bit version, actually the Ramdisk add-on makes it sound noticeably better. I guess it will be a matter of time before a 64-bit RAMdisk add-on appears.

 

It might take more time to get that updated to x64 since the original x32 release (from a decade ago that is) should be affected by such limitation

 

-The ram disk is in fact using the app memory, so I presume it has the usual 32 bits limitation (?)

 

Obviously.

 

 

 

Though we might also give this a try instead

 

https://gearspace.co...quality-pc.html

Nest, it’s so important to load the full audio file into RAM and just playback inside the memory. In the item File > Preferences > Advanced > Playback > full file buffering up to, set it to 100,000KB or larger value, just depends on the largest file size you would usually play.

 

https://www.superbes...e-13#post-95506

Also I find that you can further improve foobar's sound quality(no more dropouts on extremely heavy system activity or NAS based audio files) by enabling full file buffering memory playback:

 
File > Preferences > Advanced > Playback> Full file buffering up to (kb):
 
Just enter some ridiculous large number like 99999999999
 
downside is the initial delay before music starts to play.

 

FYI - the overall memory consumption (according to Task Manager) was indeed increased from 4.5GB to 4.9GB as shown below

 

https://blendy634.bl...-entry-119.html

使用中のメモリは 4.5GB から 4.9GB へと増加しています。
これにより0.4GBの音楽ファイルが Ramdisk に読み込ま
れたことになります。
 
SNefsxl.png

 

 

 

BTW, something like this might also work for any software players that would provide no such options for caching to RAM

 

https://hydrogenaud.....php?msg=975182

I use RAMDISKs in windows. Not the component foo_ramdisk. But a 3rd party ramdisk software. I like to minimize writes to disk as much as possible. So I use the workaround above to cache all the raw audio data it to my ramdisk volume.
 
Ideally what I'd like is an option that allows for EVERYTHING(the raw audio data as well as metadata) to be cached directly in RAM in the foobar2000.exe process itself a la mpv.

 

Here's an example

 

https://www.romexsof...ache/index.html






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users