Create recovery partition in Windows 10/11 UEFI

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome to it Army in this video I'm going to show you how to create a recovery environment in a windows that is installed in UEFI mode and if you want to see how to create a recovery environment on a Windows that is installed on Legacy BIOS check out this video so without further Ado let's get started so if you want to just make sure that your Windows is installed in Legacy BIOS mode or your ufi mode you just right click the start button and click run and type in Ms info 32 and from here you can see that the Bios mode is UEFI so when your Windows is installed in UEFI mode that this partitioning style is GPT or good partition table and in case your windows and Legacy BIOS mode the this partitioning style is MBR so let's close this and go on to Disk Management tool by right clicking the start button and select Disk Management so from here you can see that the partitioning style of your disk is when I right click the disk and go on to properties and if I go on to volume and from here you can see that the partition style is good partition table or in short GPT so over here you can see that Windows is installed in ufi mode so that's why we have the EFI system partition we have boot partition and we have got the recovery partition the size of the recovery partition is around 508 megabytes so I will be doing a disaster later on in this video where I will delete this and then I will show you how to create the recovery partition now there are a lot of other videos available on YouTube that show you how to create the recovery partition that contain the entire operating system image now back in Windows 7 Windows 8 and even in Windows 10 initial releases lot of manufacturer pre-installed laptops they used to come with a recovery partition that contains your entire operating system image that takes around 10 to 15 gigabytes but this recovery partition is not that partition that contains entire operating system but this is a mini operating system that can be used for some diagnostic tools and that can be used for repairing your Windows operating system so if I right click over here you can see that we don't have any option to do any kind of modification on this partition so I will show you from the command line utility how to what this partition contains so this partition contains a file called as winre dot web that is Windows recovery environment web file so this file I will be disabling the recovery environment so it moves over here to this location and then I will be doing the disaster and then I will show you how to do that recovery now the reason you might want to do is that maybe you had some old hard disk and you did the cloning and you just clone the EFI and the the system partition but you wouldn't clone the recovery partition now in case if you are missing this recovery partition you will not be able to perform factory reset or any kind of upgrades so if I go on to C drive windows we have win sxs so that is Windows side by side and all your windows binaries they are sitting here in this folder so that's why the new Windows laptops that you will see that though they don't have a dedicated recovery partition whenever you do the factory reset it actually does from this folder so that's why we don't have the recovery partition coming in the latest laptops and it doesn't make sense to create a dedicated partition that contains your entire recovery entire operating system image because every six months Microsoft comes such with a new environment and it just waste of storage because we don't do the factory reset every day or every week we do in maybe a couple of years once so let's close this and let's go to C drive windows and there is a folder called system 32 and over here we have recovery and this is the place where you have that recovery operating system image sitting if you disable the recovery environment so if I go on to options View and show all files and don't hide system protected files click on OK so you can see that this folder just contains as of now one file and when I will disable the recovery environment that operating system file Wim file will get moved from here to this C drive over here in this folder so if I type in CMD and I need to open it as administrator and if I want to see that what is the location of this recovery so we have a command line utility called as reagent C so r e a g e n t c Recovery Agent forward slash info and from here you can see that the recovery partition is sitting in disk 0 partition number four over here you can see that we have only three partitions one partition doesn't show up over here but this is the actually fourth partition that contains your recovery environment so in that fourth partition there is a folder called recovery and within there there is Windows re and within that folder there is windows are e dot Wim file so when I will disable that you're gonna see that that Wim file is going to move from this recovery partition over here so reagency space forward slash disable and you can see we got that recovery Vim file from the recovery partition to the C drive now in case you haven't clone from the old hard disk to a new hard disk you won't be having so I have already created a video in case you don't have this web file you can get it from the installation media so now what I'll be doing is I will be showing you the characteristics of the recovery partition this is the recovery partition so you cannot manage from GUI all we need to do is from the from the command line utility and the command line utility for that is disk part that is just partitioning utility and this test partitioning utility I can use to inspect the partitions and modify them so if I do list disk or in short list this and it shows you that how many disks are there okay so I will select the disk so cell disk 0 and now if I do list disk list disk so you can see that the star shows here that means that this is the selected disk now in case if you want to see the list of all the partitions so I can say list partition and it shows the partition so you can see there are four partitions and the recovery partition this one is your partition number four so uh if you want to select that so if I say cell partition 4 that partition got selected now if you want to see the details of that partition so I can say d e t p a r so I show the details so you can see that this is the partition in case of MBR partition style this partition type used to be integer and over here in good partition table this is the grid so after doing the disaster I will be creating a new Partition we need to set this as the partition ID and we need to also specify this as an attribute so that it becomes users cannot modify that partition through GUI so I'll just copy it down or you can search online also the partition IDs so after recreating the partition we need this as the grid I'll just copy it and this is the attribute Okay so now what I'll be doing is I'll be deleting this partition so if I say Del partition and it tries to delete because it's reserved and you won't be able to delete it's going to give you error so it says it's it's a delete you cannot delete this so I can force it to delete by using a overwrite parameter and you can see that that got deleted so this is how your disk partitioning will look like you will have EFI partition boot partition maybe some other partition but you won't be having any recovery partition so I can just extend that volume like this so after that disaster and I can see that I have entire C drive so now this is where you want to start from that you will be creating a recovery partition so if I right click we can shrink that volume and you need at least 600 megabytes so I will be allocating one zero two four that is 1 GB one gigabyte and then I will be creating the partition so I can say right click I want to create a new simple volume just keep on clicking next next next finish and that partition got created now this is a normal partition you need to set the ID of that partition to this type so I can say we have the set command you can say help set that can be used so I can say set ID equal to some integer number if your partition style is MBR and in my case it is GPT so I need to use this one so I can say set ID equals to and I copied a notepad this is the partition so I'll just set it and see how it changes in the GUI in the graphical user interface and I press enter key and it says oh I deleted that so if I say list partition this partition that I have recently created so I say select partition four and that partition is selected and now I'll be executing that command to set the ID of the recovery partition so now you can see as soon as I said it became the recovery partition so now what I'll be doing is if I right click you can say still you are getting these options to delete extend all these options you are getting so you don't want to have these options so that user should not be able to delete it so we will set the attribute so we can use attribute command okay so we can use GPT command so I can say help GPT and this is how you can set attributes you can say GPT attributes equal to and you paste in the attributes I'll say GPT attributes equals to and I just paste in that and press enter key sorry I need to fully qualify it attributes equal to and that attribute assigned successfully so now you can see over here it is showing as it's a recovery partition now this is the recovery partition that is empty we need to enable back the recovery partition so that the when re.web file gets moved from this location to this partition now in case if you are not having winery.fm file you can get it from the Windows installation media check out this video for that so let's exit out of here and I say reagency slash enable and then you're gonna see that this file is gonna vanish from here and then it's going to get copied into the recovery partition so now recovery enabled successfully and if I do again reagent C slash info and it's telling you that it is sitting in Partition number four so this is how what we did in this entire video we did the disaster where I deleted the recovery partition and then we manually created that recovery partition and set the the partition ID the attribute and then we enable the recovery using reagency and yes one more thing I forgot to switch off the showing hidden files so you don't see hidden files again and that's it okay so that's it hope you like this video if you have any other questions or comments please post in the comment section below and don't forget to subscribe see you in the next video
Info
Channel: IT Army
Views: 28,456
Rating: undefined out of 5
Keywords: recovery partition, windows 10 recovery partition, recovery partition uefi, recovery partition gpt, reagentc, cannot find recovery environment
Id: uGn7YGwmS1Y
Channel Id: undefined
Length: 13min 34sec (814 seconds)
Published: Wed Dec 07 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.