top of page
Writer's picturecalconkparwoorotti

Pagefile Settings for BitLocked VHD Drive Boot: A Step-by-Step Guide



The local disk partition that contains the VHDX file must have enough free disk space for expanding a dynamic VHDX to its maximum size and for the page file created when booting the VHD. The page file is created outside the VHDX file, unlike with a virtual machine where the page file is contained inside the VHD.




How to set pagefile when booting a BitLocked vhd drive



To use VHDs produced by Disk2vhd, create a VM with the desiredcharacteristics and add the VHDs to the VM's configuration as IDE disks.On first boot, a VM booting a captured copy of Windows will detect theVM's hardware and automatically install drivers, if present in theimage. If the required drivers are not present, install them via theVirtual PC or Hyper-V integration components. You can also attach toVHDs using the Windows 7 or Windows Server 2008 R2 Disk Management orDiskpart utilities.


Attempts at setting the paging file to either a custom size or a windows managed size, then rebooting results in the same popup window, and no c:\pagefile.sys file existing. I've also tried manually changing the page file settings in the registry, but they seem to be ignored and reset to no paging file upon reboot.


The local disk partition that contains the VHDX file must have enough free disk space for expanding a dynamic VHDX to its maximum size and for the page file created when booting the VHD.The page file is created outside the VHDX file, unlike with a virtual machine where the page file is contained inside the VHD.


Also, I didn't see a pagefile.sys located in the same folder as the VHDX when viewing that folder on the host (I had show hidden/system files on). Where would the VHDX specific pagefile.sys be located?


I can't check atm because I have some issues with my device :-)I think that the pagefile.sys for the VHD is created on the system drive and you may have issues if there's not enough space there of if the system drive is encrypted (by bitlocker or another tool).I've found this article that may help you to relocated it if it's the case: -to-set-pagefile-when-booting-a-bitlocked-vhd-drive/


You can mount a VHD image file as a drive letter and then encrypt the contents of that VHD with BitLocker. This allows multiple users to share a computer and use BitLocker to keep their files secret from each other. When a VHD file using BitLocker is backed up or copied to a plaintext USB drive, the VHD file stays encrypted, which is not not true of the files on a volume using whole drive encryption. If you copy the VHD file to a portable drive, the portable drive can stay in plaintext while the contents of the VHD file will be BitLocker-encrypted, which is nice when you need some regular plaintext portable storage too. You can conveniently mount/unmount VHD drives from within Windows Explorer or from the command line. The following will show you how to do it.


(Optional) In Windows Explorer, right-click the new drive > Manage BitLocker > Automatically Unlock This Drive On This Computer. This protects the BitLocker VHD drive with your desktop logon credentials. If you want to be prompted for your BitLocker passphrase whenever you first attach the VHD drive, do not select this option (perhaps because others know your logon password).


If you want to try to conceal the fact that you have a BitLocker-encrypted VHD file, keep in mind that VHD files have a binary signature which can be scanned-for and identified. However, you might try this: 1) Install the VHD Attach tool on another computer, 2) copy the VHD Attach program files to a flash drive, 3) create a BitLocker-encrypted VHD file on the desired machine, 4) detach or unmount the VHD drive, 5) rename the VHD file and its filename extension to something which will not draw attention, e.g., like a paging file, memory dump, temp file, etc., perhaps moving and hiding the file as well, 6) use a shortcut or batch script on the flash drive to run VhdAttachExecutor.exe to mount the renamed VHD file when desired.


You can also use BitLocker inside of a virtual machine to encrypt the boot partition (the partition with the Windows folder in the VM) but you'll need to turn off BitLocker's default TPM requirement in the VM first. The hard part is tricking your VM software into mounting the USB flash drive with the BitLocker key during boot-up, and, if you can't get your VM to do this, you'll have to type in the BitLocker recovery PIN each time you reboot the VM (resuming a suspended VM, as opposed to rebooting, does not prompt for the recovery PIN if you really want to play around with this "feature"). Encrypting the VM's files on the host OS with EFS is possible too and certainly less of a hassle.


You can also use BitLocker inside of a virtual machine to encrypt the boot partition (the partition with the Windows folder in the VM) but you\'ll need to turn off BitLocker\'s default TPM requirement in the VM first. The hard part is tricking your VM software into mounting the USB flash drive with the BitLocker key during boot-up, and, if you can\'t get your VM to do this, you\'ll have to type in the BitLocker recovery PIN each time you reboot the VM (resuming a suspended VM, as opposed to rebooting, does not prompt for the recovery PIN if you really want to play around with this "feature"). Encrypting the VM\'s files on the host OS with EFS is possible too and certainly less of a hassle.


This error often occurs when you tend to format a large partition or a USB/external hard drive to the FAT32 file system using DiskPart utility. Due to the limit of the FAT32 file system, Windows doesn't allow you to format a device larger than 32GB into FAT32. To fix this error, you have two options, as listed below.


Storage devices like external hard disks, SD cards, USB flash drives, etc., come extremely handy when you have to save a huge amount of data. However, they are not totally error-free. Hence, when such devices are not ready in any possible way, Windows operating systems will show you an error, i.e., virtual disk manager the device is not ready.


In Windows 11, 10, 8, and 7, an error like virtual disk manager the device is not ready may appear when you are trying to access data from flash drives, CDs, DVDs, hard drives, and other storage devices. Though it is a common error, it is still crucial to know why your computer system is showing such a kind of error.


In order to connect a drive to the operating system of a PC system, files are required. However, when these files get corrupted or damaged, then detection problems and connection errors start taking place. But using the System File Checker, i.e., SFC available in Windows, you can check the corruptions. Use these steps to examine errors:


Compared to NTFS, ReFS introduces key features to improve resilience to data corruption, performance and scalability. To get into the practical, it should be noted that on all the latest Windows operating systems, especially on servers, we can easily create ReFS formatted drives and partitions. We will see what are the main advantages of using this file system, and when to use it.


A few suggestions before locking/encrypting your files:1. Always, use a strong password when locking your files and note it in a safe place.2. If you use EFS or BitLocker encryption, always backup the encrypted files and the recovery keys on a separate device, (e.g. on a external USB drive) and store this device in a safe place.3. For damage precaution, frequently backup to a separate device, the locked (encrypted) files in an unlocked (unencrypted) format.


TIPS when using the BitLocker encryption:1. To change the BitLocker password or to remove (turn off) the BitLocker protection, navigate to Control Panel -> BitLocker Drive Encryption.2. Always backup the BitLocker recovery key to another safe location (drive).3. To access the contents on the BitLocker protected Virtual Disk (VHD), use one of the following methods:


and how do i know my physical machine is booting for the Asus TUF .. i just know i changed something because it would boot from a USB vs Windows when i setup unraid and i cant remeber what that was it was a while ago... ugh wish i remembered.. 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comentarios


bottom of page