Any way to move an unallocated partition?


AdvancedSetup, I am able to create and run batch files, also create and execute *.ps1 files. I am very much interested in the comprehensive script you posted earlier that did not work for me. Would you mind posting it again...just the script and no explanation of the commands. BTW, your Malwarebytes saved my system from infection when others failed. Great software.


Great, glad to hear the software worked out well for you @Djard


No explanation, but I will leave some of the information about the script in case anyone else wants to run it.


Code:
.SYNOPSIS
Get-ComprehensiveDriveReport
Generates a comprehensive storage, recovery, and VSS configuration report for a Windows system.

.DESCRIPTION
Get-ComprehensiveDriveReport collects read-only diagnostics using Windows Storage cmdlets, CIM/WMI, and built-in
command-line tools to produce a single log-file report suitable for troubleshooting and support workflows.

Sections included:
- Disk identifiers (Get-Disk)
- USB VID/PID inventory with optional usb.ids lookup, automatic first-run cache download, and Windows descriptor fallback
- Per-volume mapping to physical disk, partition layout with filesystem/free-space detail, and capacity summary
- BitLocker status (manage-bde -status, plus Get-BitLockerVolume when available)
- NTFS and sector details (fsutil fsinfo ntfsinfo/sectorinfo) and dirty bit status (fsutil dirty query)
- Mounted volume GUID paths (\\?\Volume{...}\)
- Optical drive hardware is reported by default without probing inserted media; use -ProbeOpticalMedia only for known-good discs
- Volume summary with listed-volume total/free capacity totals (fixed + removable by default; optical media volumes only when -ProbeOpticalMedia is used) and network drive summary
- System file validation (hiberfil.sys, pagefile.sys, swapfile.sys, crash dumps, PendingFileRenameOperations)
- CHKDSK log summary (Wininit, Application log, Event ID 1001)
- Windows Recovery Environment status (reagentc /info)
- Hidden system partitions health (EFI/MSR/Recovery) using Get-Partition/Get-Volume
- Boot Configuration Data (BCD): current store, plus offline store read from the EFI System Partition (ESP)
- Disk/volume health status, VSS service status, shadow copy counts, VSS writers, and shadow storage configuration

This script is designed to be safe for end users and support workflows. By default it does not modify Windows storage
configuration. Stateful support actions are limited to creating the C:\AS directory/log structure, writing the report
log files, and optionally caching usb.ids for USB VID/PID name lookup. The offline BCD store is read through the EFI
volume GUID path by default. Temporary ESP drive-letter mounting is opt-in only with -MountEspForBcdValidation.

Let me know what errors or issues you run into. I've run similar code on hundreds of systems now without issues, so if there is an issue I'd like to know so that I can try to correct it.

Thanks
 

Attachments

My Computer My Computer

At a glance

Windows 11 Pro build 25H2 x64Intel i9-13900K64GBNvidia GeForce RTX-3090 Ti
OS
Windows 11 Pro build 25H2 x64
Computer type
PC/Desktop
Manufacturer/Model
ASUS Custom build
CPU
Intel i9-13900K
Motherboard
Asus ROG STRIX Z790 E GAMING WIFI 11
Memory
64GB
Graphics Card(s)
Nvidia GeForce RTX-3090 Ti
Internet Speed
1 Gbps
Browser
Firefox
Antivirus
Malwarebytes
Thank you ZBook and AdvancedSetup for the delicious script info.
 

My Computer My Computer

At a glance

Windows 11 ProIntel Core Ultra 7 155H, 16 cores, 22 threads...64GB DDR5-5600 MT/sIntel Arc Graphics
OS
Windows 11 Pro
Computer type
Laptop
Manufacturer/Model
HP Envy 17t-da000
CPU
Intel Core Ultra 7 155H, 16 cores, 22 threads, 4.8GHz.
Motherboard
HP?
Memory
64GB DDR5-5600 MT/s
Graphics Card(s)
Intel Arc Graphics
Sound Card
Realtek Hi-def/Intel Smart Sound
Monitor(s) Displays
17.3" touch screen
Screen Resolution
1920 x 1080, dual monitors.
Hard Drives
1TB SSD and 7 external USB drives.
PSU
20VDC, 3.25A.
Case
Silver
Cooling
Fans
Keyboard
Numeric
Mouse
Logitech wireless
Internet Speed
Upload: 330 Mb/s; Download: 438 Mb/s.
Browser
FireFox
Antivirus
Win Defender
Other Info
My cat's name is Mr. Scruffins.
Back
Top Bottom