Pre-Install Programs With Windows USB
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- Today I'm going to show you how to include 3rd party apps in to the Windows setup USB. This will save you time by including apps with the Windows setup. This is a question I've been asked several times. So today I will give you a detailed tutorial on how to do it.
Sponsored links
VIP-SCDKey.com 25% off discount code: CyberCPU
Windows 10 Pro ($16.90): biitt.ly/vbLzK
Windows 11 Pro ($23.50):biitt.ly/FAS2Z
Windows 10 Home ($15.80): biitt.ly/zKc1C
Office 2019 Pro ($50.90):biitt.ly/XL8Rj
Office 2016 Pro ($27.80):biitt.ly/Cyber
Office 2021 Pro ($88.80): biitt.ly/2wSZd
Please Like this video and Subscribe to my channel
www.youtube.co...
My shirt from the video
www.cybercpute...
-Links From The Video
*VirtualBox
www.virtualbox...
*Rufus
rufus.ie/en/
*Hiren's BootCD
www.hirensboot...
Commands
* Use this to create image
dism /Capture-Image /ImageFile:{Path of image file} /CaptureDir:{Prob. C:\} /Name:{Name of image} /Compress:max
* User this to convert wim to esd
Dism /Export-Image /SourceImageFile:{Path to wim image} /SourceIndex:1 /DestinationImageFile:{Path to save esd image} /Compress:recovery /CheckIntegrity
#Windows #Setup #Tech
I have been looking for a way to do this for years, and here you handfeed it in such a way it is making everything quite easy! Thanks a lot, awesome video as always =D
Worked for normal applications but not for windows store apps unfortunately.
But this video was still very helpful. Thanks
ohh my God !! i was searching for perfect Method ..and u did this detail Video . Thank u So much Sir
in combination with the unattended install this is just a blast :)
Another comment:
I wanted to thank you for this video because it spurred me to some solutions for real world issues.
First, I have a laptop that has only 32GB of EMMC storage. It runs Windows 11 but even after some space saving tricks, I only have about 5GB of free space. But your video gave me an idea: I created a bootable SSD with Windows 11 on it, and now I boot that laptop from that SSD. So I now suddenly have 1TB storage space and it runs great! As a test I did the same thing with a 512GB Micro SD card just to see if it could be done because that system is capable of booting from a Micro SD card. That also works. It's not a speed demon, but it does work surprisingly well. There are some issues related to pagefile usage, so I suggest using a HDD or SSD. Basically anything seen as removable media and not as a fixed disk drive will have these issues. The PNY Pro Elite USB 3.2 Gen 2 flash drive works very well. First, it is FAST, and it is seen just like a full SSD including support for TRIM.
Then I had another idea: My roommate keeps a Mini PC out by the TV. That way, if we ever need to lookup something on the web based upon something we were watching on TV we can do it right then and there. But it always annoys me that I don't have all my settings in place. For example, I like dark mode, he likes light. I use Edge, he uses Chrome, etc. Now I can simply boot from the Windows To Go SSD and I have my fully customized Windows and I don't mess with anything in his installation.
You can even apply BitLocker with a password to unlock the drive so your data is safe if you lose the drive.
It's been a few years since I experimented with Windows To Go, but watching your video suddenly made me realize how useful this is.
Thanks for this, as well as all your other videos. They are always well thought out and very much appreciated!
This will save me a lot of time. Thanks
Good job!! Solid instructions... I done this plenty of times in my IT career.
You don't need Virtual Box or Windows PE to do this. You can just boot to the Command Prompt in Windows 10 or 11 on the master PC to do this and capture the image to your C Drive and then copy it over to your Windows install USB. I do it this way all the time.
This pretty much. Have Uniget Package Manager GUI installed and presto an easy to update after install Windows USB.
Like the way I do, using Macrium Reflect
@@sigmablock that’s not the same thing. But nice try.
@@bertvantol9669 that’s not the same thing
how do you capture the image?
Thanks Rich - awesome as always
Tak!
Thank you.
Excellent!
Now to figure out how to do it with those Adobe programs I've acquired from sailing the seas....
😂
As a teck I'mm use to using 3rd party tools likw nlite, this was a huge suprise for me. Thanks for the information
Wow this is best ever seen tutorial on youtube 😁.. my install.esd file is 7.3 GB and iso i created in IMGBurn 8.1 GB but all the apps i installed on old system is on the new one. Great tutorial
Thanks for sharing this, Works like a charm =)
Is there a way to find out what version (language) of Windows i need?
Ex: my install was installed a long ago but i don't remember if it was en-US or pt-BR even though i do use it on en-US as i always change my country language to English.
Or can i just use the en-US .iso since that's the language i'm using?
This video was really helpful😀😃, thanks.
You can also change boot order or priority from virtual box settings .
You can't when you use a UEFI boot. It's a bug in virtualbox.
@CyberCPU I'm sorry for dropping the question here. I could not get the "@" to work in a separate comment.
The question: If rolling from machine to machine inatalls, how are the necessary aystem HW drivers manages within the install?
@@jmespoii the installer works the same. This just modifies what's installed with the OS.
How did you convert the wim file to iso in 26:00 to test if the file works in the virtual box?
Use "NTLITE", it's what i did, Easy as Pie
One you get the flash drive complete as in this video
open NTLITE > ADD > IMAGE DIRECTORY > (SELECT YOUR FLASH DRIVE) > CLICK "SELECT FOLDER" BUTTON > (your drive letter will appear at the bottom) > RIGHT CLICK YOUR DRIVE IN THE LIST > click "CREATE ISO" > type in a name, and choose where to save it > click "SAVE"
Once it's done, you have an iso you can use to create a virtual drive to test it,
You can also follow his other videos to create a Debloated Copy of Windows
ENJOY!! =)
great video!!! I work in a MSP setting and this will help lots!!!!
Are people that clueless? You can just make (for example) make a folder Inside the Windows install stick and put whatever .exe files (or whatever actually) and have them ready after windows is done installing.
And before anyone comments, I'm adressing the people who just want to install some stuff and not automate the entire installation process.
Edit: Why download the ISO from Rufus? You probably should download it from MS directly. Not to say that Rufus is untrusted of course, but the general rule of thumb usually is to download files from the Original source.
Rufus uses the official Microsoft servers
You can, but you’ll have to install all apps manually, so you’ll lose time.
Sysprep!!! Excellent Rich!!
"Is your copy of Windows 10 unactivated? Well, it doesn't have to be. With this volume license and a fake KMS server you can activate it for zero dollars..." 🤣
0:15 same for Windows 7 update
Why not building one with Windows AIK? Almost forgot, checking "generalize" is really important, is forcing Windows to disregard any driver you have installed and NOT have any bluescreens while setting up a new machine, by making Windows to detect everything for the "first" time when using the customized image. And created users...
Thank you for the video!
Give up the flash drives! I use a 128GB SSD in a small external USB 3 case thus eliminating the need for compression. Boot/copy/install times improve as well.
Same here. Allthough I use a 512 gb ssd because of all my stuff.
2:34 same for Windows 8.1 to Windows Vista
is it possible once you have created your program edited iso/usb to convert it to a LIVE iso to boot into its own enviroment so it will boot from ventoy or easy2boot program without affecting the mainframe you are working from ????
With Windows, you can’t have a live USB. It’s installed or bootable, but not both
sir you're a windows Connoisseur
CD burner ? This guy is from the stone ages 😂 what’s next ? Nero burner ?
My question is, what about the window updates? Are they done in virtual box or done after the new install ( with the programs that are as added to the windows install usb?
My god that could save me so much time!
Could I do the debloating and other general system settings adjustments and install drivers during audit mode as well? Followed by the same imaging steps as shown here, and installing the resulting install, would that work to end up with a fresh install that's ready to go? (of course, provided I install it to the exact hardware for which I installed the drivers in audit mode).
Technically, you could add any drivers while in Audit mode, but since you are on a VM, the drivers for your system won't be appropriate for that VM. However, you can inject all your drivers after you have moved the install.wim to your Windows image. In fact, I do this all the time. That way, not only are my apps already installed, the drivers are also all there already. Note that to do this, you need to leave the install.wim as is and don't convert it to install.esd since the procedure only works with a .wim file, not a .esd file. The procedure is a bit long but I can provide it to you if desired. As you noted, if you use your actual hardware to create this image rather than a VM, then you can do this. Again, there are some extra steps involved to make this work because sysprep normally uninstalls the drivers. It does not delete them, but it does uninstall them.
2:57 same for VMware
Add 8GadgetPack too
Is using a VM **required** for t his process? You didn't really specify. Secondly, what about programs that require product keys or modified files to run?
If you want, you can use another PC, but it’s not that practical
For those apps, you should install them manually to have more practicality (install apps with licenses using the unattended way can be a bit tricky sometimes)
Do I need windows 10 already? I have windows 7. When I put windows 10 on another computer it erased everything on it.
Hey Rich I was able to fix the problem by installing VMware workstation and then it works. I wonder if because I am using Win 11 24H2 on my system?
To change the boot order you just press F12 instead. ESC didn't work for me, but F12 did. I also have Virtual Box 7.0
3 months later: All your pre-installed programs have updates!
Then update them like normal...
Cool, but I hope and assune we can use the method in your video on making the installation install automatically with the autounattend.xml file created by the tool you showed.
And also, I assum it doesent HAVE to be a virtual machine to make the image with the installed software? If you don't mind it creating the same user every time you install from that image that is.
This option will work if you are testing tings and want to have the oportunity to start all over if your installation gets damaged or something.
This is nice, but what about just after doing a fresh installation of Windows & updates installing the programs. Clone it to an external drive, then clone that drive to other computers with a new license key. Of course, I would have separate drives for Intel & AMD systems and then run Windows updates again might have to install a few drivers.
can we install drivers too and stay on the image?
what does this mean Windows has stopped this device because it has reported problems. (Code 43) Unknown USB Device (Device Descriptor Request Failed) how do I fix this i have windows 11 home laptop i get this error when I plug in my cyberpower LX1500GU ups battery backup to the usb port on laptop and i tried different usb ports still the same problem how do i fix this problem ??
In your video you mentioned that you can debloat the Windows installation. BE CAREFUL doing this! You cannot delete or add items to the start menu, you cannot uninstall OR install any Microsoft Store apps, and you should not launch any of the programs that you are installing while you are still in audit mode. Note that some installers will ask if the program should be run after installation. Do not choose to do this!
Doing any of these things will cause difficulties. There are ways to perform the debloat, but that is way beyond the scope of this video.
At least three times that I counted you referenced double quote marks as "parenthesis". Be careful and follow what is being typed on the screen and not the narration.
Yeah, this video really has nothing to do with debloating.
I always make that mistake by calling quotes parentheses. I have no idea why I do it. I do it constantly. 😅😂
Sorry. 🤷🏻♂️
17:51 it’s easy on VMware
Hi, I want to know does Windows 11 LTSC also the same?
AI took over and decided the unfocused look was an improvement. LOL.
Would you be able to show THIS same process with MDT? We do a capture of a reference image. No apps install with that and this process would make it easy.
With what I saw, you can do everything except the patches
@cybercpu tech : I've been having issues using the Rufus method to make the USB. I've downloaded the windows 11 ISO 23H2 ahead of time prior to attempting the Rufus portion. I was doing this from a previous video of yours. I used versions 4.2, 4.3, 4.5 of Rufus to attempt the USB creation of Windows 11 and had failed multiple times. I get the error : files can not be patched.
did I miss a step? You mentioned Windows PE iso file. I don't recall where you said that came from
Hiren's boot CD.
Can this be done using Hyper-V instead?
Very useful although I hi k you may have lost some people at 26 minutes, where having created the WIM file, you suddenly say that you are not going to use it but will use a downloaded ISO, with no specific information being given as to why.
The ISO is using the same wim file. I explain why in the video. It's because virtualbox is a pain in the butt trying to make it boot off of a USB stick.
The ISO and the USB drive are the same.
@@CyberCPU after the wim file. what are the steps to install on new computers? Kinda lost on how to deploy the usb
Nice vid👍👍👍👍👍👍
What if you cannot use a VirtualBox, but have an extra system to use?
That will work.
@@CyberCPU Thank you, I will try it. I sent you an email earlier asking for help with other issues saying I love your videos, aand I do you have been a great help, Thank you
Followed your video all the way to the part where you start the virtual box (I am using win 11 Pro) getting the error supHardenedWinVerifyProcess failed with VERR_SUP_VP_NT_QI_VIRTUAL_MEMORY_ERROR (rc=-5637) any suggestions to get around this?
Right Click on OS image . Settings->System->MotherBoard Increase the base memory
@@christianwarrior413 no matter what I increase it to I get the same error
Does windows apps and driver can be included on pre-install apps?
all users? or default user?
Please make a video Of Free and powerful External Internet Download Manager for Windows. Love from Bangladesh. 🇧🇩
I had a problem with Anydesk and TeamViewer software having the same id number on all installs with this method, did you encounter something like that?
See my comment about NOT doing it this way!
🤔If I were to also create virtual machines with an .iso file, could I just put that .iso file through NTLite to debloat it and bypass the Microsoft account requirements without hassle (because that's possible to do within NTLite)
Yes and after that install all the stuff you want from a seperate drive (or usb drive, don matter) and done.
This video is so long, 90% of people won't bother with this or even understand everything, and he skips small details every time...
@@zackzeed thanks for telling me :)
@15:45 - you did not select "Generalize" ???
would this not give the admin problems later on??
no but make the image more specific for that pc
@@tcntad87 Why would you want that, when you can just image the drive?
@@fbifido2 huh? Generalize removes user/computer specific drivers and settings and procees, you dont want unnecessary stuff and things complicating next install
@@tcntad87 ok, i understand your reply comment, just to make sure, "This Win 11 USB will only be used for this computer"
@@tcntad87 "Generalize remove unique PC-specific information", it does not remove drivers, just the config.
Good Video Rich. And you’re my favorite tech TH-camr. You’re funny and good with tech. 👍😀
Can you do one to convert a physical drive to virtual and vice versa?
if an item is installed as a single user sysprep will throw up an error so ninite or somthing similar must install for all users........
I am thinking maybe it would be easier and faster just to use a USP to sata ssd adaptor maybe 240 gb to a 1t drive.
It can be done even easyer ....
I install my System one time complete.
Then I make an image with Macrium Reflect.
Put this image on a Ventoy bootable USB-stick with Macrium ISO on it.
And startup on an empty computer from that USB-stick.
Copy that Macrium image to the new computer.
After around 15 minutes I can boot the new system, which is asking to install its drivers.
To be sure for the newest drivers I'm using iObit Driver Booster.
..... and thats it. A complete working system.
And does Macrium reflect cost anything to be fully used? Yes? No? If yes, then your comment here is unnecesary.
Not the beat idea. You can mess a lot of things up
nice one , u use ninite or i miss hear it
Will this work with the unattended install .xml video you made earlier?
It can, yes, but installing apps could be tricky if they are not included or if you mess up accidentally
Will this work if I choose default themes and settings as well? So how can I apply settings for all users? :)
He doesn't specify a lot of mall details...
Anyone else getting an error that says, "Windows could not display the images available for installation" after using this method to create a USB installer? I'm using Windows 10, otherwise I'm following this tutorial to the letter. Help?
Have you found a fix by chance? Im getting the same thing. Im trying it on windows 10 too
Do you have video how to install Windows on external usb SSD hmm . For now, I'm using Clonezilla to clone all my partition to an external SSD. I wish finally windows give us option to install on external ssd usb.
For normal user too much hassle in my opinion, don't bother to do it that if you are not installing OS every day.
Check if don’t Microsoft requirement bypass still works
I do not like the windows changes, its almost 1sec slower startup and buffering when pulling up sites, this will be fixed, may go back to 10 with my disc.
very educational! this in tandom with debloating would be great.
He did a video about 4 weeks ago about this, using an answer file and choosing what does and doesn’t get installed, it’s worth a look
Anyone have any ideas on instant Black Screen in TH-cam anyway with no cursor? Easy fix although I have had 3 since the second last Chrome Update. May have something to do with the various Tab Options.
Even the requirements
4:20 mine is fiber optic internet so, my internet speed is fast (soon might automatically upgraded 40mb/s to 100mb/s)
windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist.
Redo the command (but be careful on the order)
That error can happen if you mess up on some of the subcommands
The command is cut like that :
/Capture-Image : Self-explanatory
/ImageFile : Where you will put the .wim image
/CaptureDir : The folder or disk where you want to capture the image
/Compress : Just to reduce the image footprint
This didn't work for me. I get errors reading then get errors writing and if I get through all that and it's on the stick in the sources folder I get an invalid image error. I will have to give up on this one. lol
For me it fails to install
@17:31 - Why can't you use the windows ISO to create the "install WIM/ESD" capture image ???
You still need to NTLite to customize
@@SametKaratas-db1xu Sorry, i did not seem him use NTLite, so, how does that answer the question?
@@SametKaratas-db1xu does NTLite some with the HirenCD ?
@@fbifido2 ntlite is a debloading custom Windows operating system while own operating system with save esd is possible, but, might be a lot of space. They recommended saving as wim, but, you can debloat yourself with ntlite if you like
what is that "Nite" program to install all the programs/.
Ninite I think he means
Is there a video on making your own Windows PE iso with custom apps? Basically, making your own Hiren's CD
You have a lot of vids about it, but you shouldn’t do that, bc of one thing : you need time, a lot of time.
First, you’ll need to have Windows ADK with the PE addon installed, so at least 4-5 GB of disk space necessary.
After, you will need to know how to use the DISM commands and its cmdlets
Last but not least, you’ll have to do a lot of tests and have all you apps prepared to be “installed”
@@malodevic8895 Sounds like a fun project. I want to try it. I might learn a few things along the way :)
@@ricseeds4835 You will learn new things for sure. I mean : you’ll use DISM a lot, use the command prompt, the Windows ADK with its PE addon, etc.
You’ll also learn how to keep control of yourself, bc you’ll make a lot of mistakes, you will have to revert them and patch them, etc.
can you do this with answer files?
Did you find an answer? I’ve been trying to do this but every way I’ve tried, when I use the final image it doesn’t let me go past the menu selecting the windows 10 version, as in its blank.
Theoretically it should work, i swapped out the xml file in the virtualbox files and didn’t skip unattended install, and it doesn’t matter what you put in the virtualbox username menu if you do it this way. I’m sure there’s a better way but I’m very new to this
Patch my PC ;)
this seems way too involved extra steps and some wierd konami codes in order to create a iso. this wont save me any time the amount of time i need to create this disk i could have just had a folder with all the installers in it installed.
It won’t save you time for the first installation, but after, you’ll see that you did save time
And if you only install Windows every now and again, it won't save you time. I install Windows on different computers daily, so this works great for me!
You could skip the vm and do it from your real computer if you want
You can, but be careful on HW-specific drivers when you create the image
The VM way is better when you have already your OS installed and you don’t want to redo everything
@@malodevic8895 if you have at least a spare 64 gb flash drive you can create a windows to go drive with Rufus and once you get to the out of box experience do the things you need to do and you should be good
Could you add your anti virus and back up to that
If they are some apps without a local license, yes. If there’s a key to enter, you’ll have to do that after the installation
This is not a future proof. I would go far and crazy and setup enterprise like infrastructure. Chocolatey repository integrate it inside custom windows prepared with NTlite. This requires maintenance but you could go with community software but those doesn't have all and not controlled by you. hybrid would be perfect but conflict would cause issues in the feature. All depends on how many customers you have and criticality.
I have to disagree with Google Chrome being a better browser than Edge. Edge has improved so much in the last few years, to the point where it is faster and more secure than Google Chrome for the most part. At a corporate level, we have cybersecurity tools that monitor vulnerabilities for all installed software on linux, macOS and Windows, and usually when it comes to Chrome, Firefox, and Edge...Edge tends to reveal less vulnerabilities than Chrome. In fact, to the point where I ask most users to NOT install Chrome.
Your Way is too long. I have a quicker One. In Virtualbox create a Virtual Harddisk not an Image. Then install too Audit, make your Changes and then in Sysprep do generalize and shutdown. Attach the VHD in the Diskmanagement. Then use the Programm gimagex GUI, it makes the same thing you do.
Seems good for me
No,, i spend way to much time trying to get rid of the EXTRA crap and hidden files.
Extra crap and bloatware is one thing, but browsers and other software you would install in anyway is another. IT professionals, like myself, do this all the time because we are wiping and re-creating systems several times a week and this is a time saver. If you are a traditional user, this really isn’t important to you. 🤷
@@trusttech9942 I wouldnt consider my self an IT professional?,
but ive been doing it since the mid 80's around the windows 3.0 and Dos daze..
Ive forgotten more than most people will ever know.
i do/did complete system builds for people,, any more just my own..
people can google it now,, back then, not so much.
I get what you sayin though..
Patch my PC is so much better than Nnite
🤍❤💯💯💯💚🤍❤
it is too long. show me how to do it quickly
You can do everything on your master computer to save some time, but it’s not the beat idea (especially the sysprep phase)
BRACE YOURSELVES
This video will get insane view really quickly
Why would you do this? You're creating an image which will have old software in no-time and you will need to make a new images over and over. And honestly the whole procedure is a pain in the ass. Just use some PXE boot server, and you can still customize a couple of things or make some image or use the standard ISO whatever but just use a tool or script to automaticly install the applications afterwards, it allows you too always have the latest release. But honestly i don't think any home user wants this. Most home users would love something like Windows Home Server offered the old days. It automaticly made a complete image based backup of your system to the server without you even knowing and if your OS got garbled in any way. You just put a CD/USB stick in and told it to restore everything and you got a working system within 30 minutes with all your apps and all your data. Can't beat that.
True, this process is pretty involved, but setting up and provisioning a PXE server isn't any less involved, let alone provisioning it, depending on what you wanna use it for. This step-by-step guide, as involved as it looks, is easy to follow, regardless of how much time it consumes. Also, simply updating the pre-installed software will more than likely take less time than freshly installing the latest versions each time. Why would any home user wanna do this? Maybe because they simply wanna try it, maybe to learn more about the subject matter, maybe out of sheer boredom. But not everyone is just a home user. This can be useful for advanced user and professionals at any level. Why would a professional not go about this in a more professional way? Maybe because they lack the means to do so. It's good to know that anyone can try this out for any reason and learn if it's useful for them, which is why it's great to have such a useful video to refer to.
@@LupusYonderboy Trust me i have imaged a fair share of systems in my time using microsoft, i think it's now part of Windows Deployment Server but it was called RIS. I believe we installed a laptop, then run sysprep and another script, you could immediately upload it to the server and use it, until you got completely other hardware then you needed to make a new image. Worked fine at the time. But later came management software and better ways to roll out and keep everything current. I don't think many companies are using the old ways. It just doesn't make sense.
For me, it’s more practical to deploy a Windows ISO than deploying a WDS server and creating my WIM image : It’s less steps, so less risks of failure
In my enterprise, we use WAPT to deploy OS and apps : It’s like the “APT” system, but it’s on Windows, and you can deploy both Windows and Linux. The only con on it is that you now need a license to use it (and it’s pretty expensive if I recall)
It’s for educational purposes 🙄
so this is uncompressed ya no this is for no one