| Windows 7: How can I enumerate all hardlinks on my boot drive |
22 Apr 2012
|
#1 | | Windows 7 Pro X64 Space Coast of Florida |
How can I enumerate all hardlinks on my boot drive Is there anything available in Windows 7 that will allow me to create a list of all the hardlinks and the files or folders they point to on my boot drive?
I know I can do a fsutil hardlink list <file> to enumerate a single hardlink but what I'd like is a list of all hardlinks and the source they point to.
If nothing is available in Win 7, does anyone know of a program I can download to do this? | My System Specs |
| System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download |
22 Apr 2012
|
#2 | | Windows 7 Ultimate x64 SP1, Windows 8 Pro x64 Florida, USA |
You can use dir /al /s
in the Command prompt
To get a text file output dir /al /s > C:\Link.txt | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Custom Built OS Windows 7 Ultimate x64 SP1, Windows 8 Pro x64 CPU INTEL Core i7 3820 LGA 2011 Motherboard Gigabyte GA X79 UD5 v1.0 F13s Memory 16 GB (4 X 4GB) G-Skill Ripjaws Z DDR3 2133 Quad Channel Graphics Card EVGA GTX 460 SC 1GB Sound Card Realtek Onboard ALC898 Monitor(s) Displays Samsung BX2431 Screen Resolution 1920x1080 Keyboard Logitech G15 Mouse Microsoft Wireless Explorer Mouse PSU Corsair HX1000W Case Thermaltake Armor+ Cooling INTEL BXRTS2011LC Liquid-cooled Hard Drives OCZ Vertex 4 120GB 2.5 in. SSD FW 1.5
3x OCZ Vertex 3 120GB 2.5 in. SSD FW 2.25
4 x WD 2002FAEX SATA
4xWD 7501AALS SATA Internet Speed 6.0 Mb/s |
22 Apr 2012
|
#3 | | Windows 7 Pro X64 Space Coast of Florida |
Doesn't work. I tried from C:\Windows and C:\Windows\system32, both of which I know have hard links and noting was reported. Quote: C:\Windows>dir /al /s
Volume in drive C is D370_C
Volume Serial Number is C89E-70E8
File Not Found
C:\Windows>cd System32
C:\Windows\System32>dir /al /s
Volume in drive C is D370_C
Volume Serial Number is C89E-70E8
File Not Found FOr example: Quote: C:\Windows\System32>fsutil hardlink list msiexec.exe
\Windows\System32\msiexec.exe
\Windows\winsxs\amd64_microsoft-windows-installer-executable_31bf3856ad364e35_6.1.7601.17514_none_a7a77a3b9cb96ce6\msiexec.exe So a hardlink is not a reparsepoint. Quote: C:\Windows\System32>fsutil reparsepoint query msiexec.exe
Error: The file or directory is not a reparse point. | My System Specs | | System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download |
22 Apr 2012
|
#4 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |
I'm not sure if this information is what you're after, but I'll post the link anyway. Link Shell Extension | My System Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop |
22 Apr 2012
|
#5 | | Windows 7 Pro X64 Space Coast of Florida |
Thanks, I already have that extension installed. Works great for individual files or folders but does not provide a way to scan a folder or drive for all hardlinks. | My System Specs | | System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download |
22 Apr 2012
|
#6 | | Win 7 Pro x64 SP1, Win 7 Ult x86 SP1 NC, USA |
Don't know if you get that info with this Hard-Link Migration Store | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number home built OS Win 7 Pro x64 SP1, Win 7 Ult x86 SP1 CPU AMD Athlon II x4 620 Motherboard Gigabyte GA-MA785G-UD3H Memory 6GB GSkill DDR2 800 Graphics Card AMD 4670 GPU + AMD 4200 IGP Sound Card on board Realtek ALC889A Monitor(s) Displays RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor Screen Resolution 1680 x 1050... Keyboard Gyration wireless, Logitech wireless, Dell USB wired Mouse Gyration wireless, Logitech wireless, V7 USB wired PSU Corsair 500 W Case Rosewill mid tower Cooling CM 90mm Tower Hard Drives OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ... Internet Speed Uverse - 12Mbps D / 1.5Mbps U Antivirus Avast free OR MSE. (+ MBAM Pro). Browser 1-Firefox, 2-IE. (Chrome and Opera for testing) Other Info 2 PCs: Primary: dual-boot, Test: triple-boot.
Mainly HTPC/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.
Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.
Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner. |
22 Apr 2012
|
#7 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |
Once again, I'm not sure if Junction Link Magic is an example of what you want, but here it is: Junction Link Magic | My System Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop OS Vista x64 / 7 X64 CPU E8400 Motherboard ASRock 1333 GLAN R2.0 Memory 2x1 gb 800mhz Graphics Card 9500gt 1gb Case Coolermaster Cooling Winpower 500w Hard Drives Maxtor 160gb-2mb cache |
22 Apr 2012
|
#9 | | MS Windows 7 Ultimate SP1 64-bit Austin, Texas |
ZTrucker,
I'm more disturbed that DIR produces an error message.
Did you go to a command prompt, that is, did you: WIN | type CMD.EXE | ENTER WIN=key with microsoft logo on top. | My System Specs | | System Manufacturer/Model Number Toshiba Satellite S875D-S7239 laptop OS MS Windows 7 Ultimate SP1 64-bit CPU AMD A10-4600M Motherboard AMD Pumori (Socket FT1) Memory 6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28) Graphics Card AMD Radeon HD 7660G Sound Card High Definition Audio Device Monitor(s) Displays Generic PnP Monitor (1600x900@60Hz) Screen Resolution 1600x900@60Hz Keyboard Standard PS/2 Keyboard Mouse HP Wireless Optical Mobile Mouse Model FHA-3410 Hard Drives SSD 119GB Corsair CSSD-V128GB2 ATA Device Internet Speed What the local pub, local coffee shop offers. Other Info Optical Drive:MATSHITA BD-CMB UJ160B ATA Device
Also have an Asus ha1002xp netbook with Win 7 Ultimate installed. |
23 Apr 2012
|
#10 | | Windows 7 Pro X64 Space Coast of Florida |
I run with UAC disabled and issued the dir commands from a Command Prompt window. Tried it as you mentioned with the same Not found message.
NTFSLinksView - no hardlink support.
JunctionMagic - no hardlink support.
Hard-Link Migration Store - nothing to do with listing existing hardlinks.
Looks like the only way to do this is to iterate through all folders and using the fsutil command to query for a hard link. | My System Specs | | System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download How can I enumerate all hardlinks on my boot drive problems? All times are GMT -5. The time now is 06:52 PM. | |