Installing Windows 11 without 8.3 short file name support


suatcini54

Well-known member
Power User
VIP
Local time
10:06 PM
Posts
641
OS
Windows 11 Pro build 26200.8524
Modern Windows 11 installation should not need or rely on 8.3 short file names support. Stripping these short file names support off of install.wim file may slightly increase speed of Windows.

You may refer to Installing Windows 10/11 without 8.3 file names for further instructions.

There are several ways to apply the stripping procedure in above-referenced web site.

When I read the article in Schneegans.de web site above, I found the article quite clear about how I should apply the procedure delineated in there.

It is really very easy to strip 8.3 file name support from install.wim file. I created one for testing in Hyper-V VM. The procedure found 107739 short file name references in Windows 11 .wim file and stripped them.

strip-8dot3filenames.webp

For those that may not know 8.3 file name support, it is this:

If at C:> command prompt, you type in PROGRA~1 or PROGRA~2 or PROGRA~3 and you see C:>PROGRA~1 or PROGRA~2 or PROGRA~3, then your Windows 11 installation has 8.3 short file name support. This support is a burden on Windows 11, especially for low spec machines. PROGRA~1 is for "Program Files" directory and PROGRA~2 is for "Program Files (x86)" directory and PROGRA~3 is for ProgramData directory.

file8-3-1.webp

When you install Windows 11 with stripped 8.3 file name creation, then you see this:

file8-3-2.webp

I describe here (courtesy of schneegans.de) one of the ways on what you should do, should you choose to strip Windows 11 installation off of 8.3 file name support.

PROCEDURE:

Make a folder in C: drive and name it mt. It should look like C:\mt (Note: You can use any other drive of your choice but you must also modify the powershell script to point to the new location)

Find an install.wim file and put it C:\USB\sources folder. (Note: You can use any other drive of your choice but you must modify the powershell script to point to the new location)

You also need \Program Files\SysinternalsSuite\PsExec.exe executable. You can download the tool from:


This program should be installed into C:\Program Files\SysinternalsSuite folder and it must exist in Environment Variables window.

sysintern.webp

Open a Powershell window with admin privileges

Copy the code lines starting with function Remove.... between but excluding dashed lines and paste them into Powershell window and press Enter/Return key on the keyboard.
-------------------------------------------------------------------------------------------------------------------------------------------------------------

function Remove-WimShortNames {
[CmdletBinding()]
param(
[Parameter( Mandatory )]
[string]
$WimFile,

[string]
$MountDirectory = 'C:\mt',

[ValidateSet( 'Errors', 'Warnings', 'WarningsInfo' )]
[string]
$LogLevel = 'Errors',

[string]
$PsExecPath = "$env:ProgramFiles\SysinternalsSuite\PsExec.exe"
);

if( -not [System.IO.File]::Exists( $WimFile ) ) {
throw "File '$WimFile' does not exist.";
}

if( -not [System.IO.File]::Exists( $PsExecPath ) ) {
throw "File '$PsExecPath' does not exist.";
}

$params = @{
LogLevel = $LogLevel;
};

mkdir -Path $MountDirectory -ErrorAction 'SilentlyContinue' | Out-Null;
Get-WindowsImage -ImagePath $WimFile @params | ForEach-Object -Process {
"Now processing edition '{0}'. Mounting to '{1}'." -f $_.ImageName, $MountDirectory | Write-Host;
Mount-WindowsImage -Path $MountDirectory -ImagePath $WimFile -Name $_.ImageName @params;
& $PsExecPath -s "$env:windir\system32\fsutil.exe" 8dot3name strip /f /s $MountDirectory;
if( $LASTEXITCODE ) {
throw "fsutil.exe exited with error code $LASTEXITCODE.";
}
Dismount-WindowsImage -Path $MountDirectory -Save @params;
};
Remove-Item -LiteralPath $MountDirectory -Force;
}
------------------------------------------------------------------------------------------------------------------------------------------------------------

After that, you should run the command below in Powershell (copy-paste the whole line including the semi-colon at the end):

Remove-WimShortNames -WimFile 'C:\USB\sources\install.wim';

That's it. The install.wim file will be ready in a few minutes with 8.3 short file names removed.

If your .wim file contains more than one edition of Windows, all will be stripped.

You can replace this install.wim file with the one in Windows install USB drive.

When you clean-install Windows, you will not have installed 8dot3 file name references. After Windows is installed, you should also run

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /v NtfsDisable8dot3NameCreation /t REG_DWORD /d 0x1 /f

to eliminate possible future creation of short file names. Restart Windows for the change to take effect.

Not all files and folders with 8.3 file names may be removed. There may be a few entries still with 8.3 short file names. But you will have removed more than
100 thousand 8dot3 file name references from Windows installation.

I do not know if you have legacy programs that still rely on 8.3 file names support.

Hope this helps.

Edit: You may see an emoji. It is not an emoji. Forum format puts it as emoji. It is actually a colon and P letter.

Screenshot 2026-06-18 204331.webp
 

Attachments

  • file8-3-1.webp
    file8-3-1.webp
    15.5 KB · Views: 1
  • file8-3-1-1.webp
    file8-3-1-1.webp
    108.1 KB · Views: 1
Last edited:

My Computers My Computers

  • At a glance

    Windows 11 Pro build 26200.8524Intel i7-4790Teams DDR3-1600 4x4 GBMSI Nvidia GeForce GTX 1050Ti
    OS
    Windows 11 Pro build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-4790
    Motherboard
    Asus H97 Pro Gamer with add-on TPM1.2 module
    Memory
    Teams DDR3-1600 4x4 GB
    Graphics Card(s)
    MSI Nvidia GeForce GTX 1050Ti
    Sound Card
    Realtek ALC1150
    Monitor(s) Displays
    Dell P2425D
    Screen Resolution
    2560 by 1440 pixels
    Hard Drives
    Corsair NVMe M.2 Core XT 1000 GB (Windows 11 v.25H2); Samsung SATA Evo 870 500 GB (Windows 11 v.25H2);
    PSU
    Corsair HX850
    Case
    Gigabyte Solo 210
    Cooling
    Zalman CNPS7X Tower
    Keyboard
    Microsoft AIO Wireless (includes touchpad)
    Mouse
    HP S1000 Plus Wireless
    Internet Speed
    500 Mb fiber optic
    Browser
    Chrome; MS Edge
    Antivirus
    Windows Defender
  • At a glance

    MacOS 12 MontereyIntel Core i58 GBIntel integrated
    Operating System
    MacOS 12 Monterey
    Computer type
    Laptop
    Manufacturer/Model
    Apple Macbook Air
    CPU
    Intel Core i5
    Memory
    8 GB
    Graphics card(s)
    Intel integrated
    Screen Resolution
    1440 by 900 pixels
    Hard Drives
    128 GB
    Keyboard
    Built-in
    Mouse
    Microsoft Wireless
    Internet Speed
    802.11 ac
    Browser
    Chrome; Safari
    Antivirus
    N/A
You can run into issues doing this as some 16-bit, 32-bit or 64-bit programs may not be able to find files/directories that have long file names.
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
@KevTech Thanks for the input. It will be very helpful if you may give names of example programs that still rely on 16-bit, 32-bit and 64-bit short files name support in Windows 11.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro build 26200.8524Intel i7-4790Teams DDR3-1600 4x4 GBMSI Nvidia GeForce GTX 1050Ti
    OS
    Windows 11 Pro build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-4790
    Motherboard
    Asus H97 Pro Gamer with add-on TPM1.2 module
    Memory
    Teams DDR3-1600 4x4 GB
    Graphics Card(s)
    MSI Nvidia GeForce GTX 1050Ti
    Sound Card
    Realtek ALC1150
    Monitor(s) Displays
    Dell P2425D
    Screen Resolution
    2560 by 1440 pixels
    Hard Drives
    Corsair NVMe M.2 Core XT 1000 GB (Windows 11 v.25H2); Samsung SATA Evo 870 500 GB (Windows 11 v.25H2);
    PSU
    Corsair HX850
    Case
    Gigabyte Solo 210
    Cooling
    Zalman CNPS7X Tower
    Keyboard
    Microsoft AIO Wireless (includes touchpad)
    Mouse
    HP S1000 Plus Wireless
    Internet Speed
    500 Mb fiber optic
    Browser
    Chrome; MS Edge
    Antivirus
    Windows Defender
  • At a glance

    MacOS 12 MontereyIntel Core i58 GBIntel integrated
    Operating System
    MacOS 12 Monterey
    Computer type
    Laptop
    Manufacturer/Model
    Apple Macbook Air
    CPU
    Intel Core i5
    Memory
    8 GB
    Graphics card(s)
    Intel integrated
    Screen Resolution
    1440 by 900 pixels
    Hard Drives
    128 GB
    Keyboard
    Built-in
    Mouse
    Microsoft Wireless
    Internet Speed
    802.11 ac
    Browser
    Chrome; Safari
    Antivirus
    N/A
Edit: You may see an emoji. It is not an emoji. Forum format puts it as emoji. It is actually a colon and P letter.
Wrap it in a code block.

[string]$PsExecPath = "$env:ProgramFiles\SysinternalsSuite\PsExec.exe"

Code:
[string]$PsExecPath = "$env:ProgramFiles\SysinternalsSuite\PsExec.exe"
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
Stripping these short file names support off ... may slightly increase speed of Windows.
Does it actually do this?
If so, by how much?


Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
Wrap it in a code block.

[string]$PsExecPath = "$env:ProgramFiles\SysinternalsSuite\PsExec.exe"

Code:
[string]$PsExecPath = "$env:ProgramFiles\SysinternalsSuite\PsExec.exe"
Thanks. Is this O.K. ?

[string]
$PsExecPath = "$env:SystemDrive\ProgramFiles\SysinternalsSuite\PsExec.exe"

Edit: This does not work. I tested it. Sorry.
 
Last edited:

My Computers My Computers

  • At a glance

    Windows 11 Pro build 26200.8524Intel i7-4790Teams DDR3-1600 4x4 GBMSI Nvidia GeForce GTX 1050Ti
    OS
    Windows 11 Pro build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-4790
    Motherboard
    Asus H97 Pro Gamer with add-on TPM1.2 module
    Memory
    Teams DDR3-1600 4x4 GB
    Graphics Card(s)
    MSI Nvidia GeForce GTX 1050Ti
    Sound Card
    Realtek ALC1150
    Monitor(s) Displays
    Dell P2425D
    Screen Resolution
    2560 by 1440 pixels
    Hard Drives
    Corsair NVMe M.2 Core XT 1000 GB (Windows 11 v.25H2); Samsung SATA Evo 870 500 GB (Windows 11 v.25H2);
    PSU
    Corsair HX850
    Case
    Gigabyte Solo 210
    Cooling
    Zalman CNPS7X Tower
    Keyboard
    Microsoft AIO Wireless (includes touchpad)
    Mouse
    HP S1000 Plus Wireless
    Internet Speed
    500 Mb fiber optic
    Browser
    Chrome; MS Edge
    Antivirus
    Windows Defender
  • At a glance

    MacOS 12 MontereyIntel Core i58 GBIntel integrated
    Operating System
    MacOS 12 Monterey
    Computer type
    Laptop
    Manufacturer/Model
    Apple Macbook Air
    CPU
    Intel Core i5
    Memory
    8 GB
    Graphics card(s)
    Intel integrated
    Screen Resolution
    1440 by 900 pixels
    Hard Drives
    128 GB
    Keyboard
    Built-in
    Mouse
    Microsoft Wireless
    Internet Speed
    802.11 ac
    Browser
    Chrome; Safari
    Antivirus
    N/A
Quick question: Is the performance difference noticeable? I don't think it is, and I don't want to reduce compatibility with older applications (such as PaintShop Pro 3.12) and old games. I play a lot of MS-DOS games through DosBox and I have also installed a third-party NTVM so I can play old 16-bit Windows games. If I strip 8.3 filename compatibility all of these will give an error, no thanks.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 23H2 (5699), 25H2 (8655)Mobile DualCore Intel Core 2 Duo T7250, 2000 MHz4GBMobile Intel(R) GMA 4500M (Mobile 4 series)
    OS
    Windows 11 Pro 23H2 (5699), 25H2 (8655)
    Computer type
    Laptop
    Manufacturer/Model
    Acer Extensa 5630EZ
    CPU
    Mobile DualCore Intel Core 2 Duo T7250, 2000 MHz
    Motherboard
    Acer Extensa 5630
    Memory
    4GB
    Graphics Card(s)
    Mobile Intel(R) GMA 4500M (Mobile 4 series)
    Sound Card
    Realtek ALC268 @ Intel 82801IB ICH9 - High Definition Audio Controller
    Monitor(s) Displays
    1
    Screen Resolution
    1280x800
    Hard Drives
    Samsung SSD 850 EVO 250GB SATA Device (250 GB, SATA-III)
    Internet Speed
    VDSL 50 Mbps
    Browser
    MICROSOFT EDGE
    Antivirus
    WINDOWS DEFENDER
    Other Info
    Legacy MBR installation, no TPM, no Secure Boot, no WDDM 2.0 graphics drivers, no SSE4.2, cannot get more unsupported ;) This is only my test laptop. I had installed Windows 11 here before upgrading my main PC. For my main PC I use everyday see my 2nd system specs.
  • At a glance

    Windows 11 Pro v25H2 (build 26200.8655)Intel Core-i7 3770 3.40GHz s1155 (3rd generat...2x Kingston Hyper-X Blu 8GB DDR3-1600GIGABYTE GeForce RTX 3050 WINDFORCE OC V2 6GB...
    Operating System
    Windows 11 Pro v25H2 (build 26200.8655)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom-built PC
    CPU
    Intel Core-i7 3770 3.40GHz s1155 (3rd generation)
    Motherboard
    Asus P8H61 s1155 ATX
    Memory
    2x Kingston Hyper-X Blu 8GB DDR3-1600
    Graphics card(s)
    GIGABYTE GeForce RTX 3050 WINDFORCE OC V2 6GB (GV-N3050WF2OCV2-6GD)
    Sound Card
    Realtek HD audio (ALC887)
    Monitor(s) Displays
    Sony Bravia KDL-19L4000 19" LCD TV via VGA
    Screen Resolution
    1440x900 32-bit 60Hz
    Hard Drives
    WD Blue SA510 2.5 1000GB SSD as system disk, Western Digital Caviar Purple 4TB SATA III (WD40PURZ) as second
    PSU
    Thermaltake Litepower RGB 550W Full Wired
    Case
    SUPERCASE MIDI-TOWER
    Cooling
    Deepcool Gamma Archer CPU cooler, 1x 8cm fan at the back
    Keyboard
    Mitsumi 101-key PS/2
    Mouse
    Sunnyline OptiEye PS/2
    Internet Speed
    100Mbps
    Browser
    Microsoft Edge, Mozilla Firefox
    Antivirus
    Microsoft Windows Defender
    Other Info
    Legacy BIOS (MBR) installation, no TPM, no Secure Boot, WDDM 3.0 graphics drivers, WEI score 7.4
Does it actually do this?
If so, by how much?


Denis
I said "may slightly". Theoretically. I am not able to test it.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro build 26200.8524Intel i7-4790Teams DDR3-1600 4x4 GBMSI Nvidia GeForce GTX 1050Ti
    OS
    Windows 11 Pro build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-4790
    Motherboard
    Asus H97 Pro Gamer with add-on TPM1.2 module
    Memory
    Teams DDR3-1600 4x4 GB
    Graphics Card(s)
    MSI Nvidia GeForce GTX 1050Ti
    Sound Card
    Realtek ALC1150
    Monitor(s) Displays
    Dell P2425D
    Screen Resolution
    2560 by 1440 pixels
    Hard Drives
    Corsair NVMe M.2 Core XT 1000 GB (Windows 11 v.25H2); Samsung SATA Evo 870 500 GB (Windows 11 v.25H2);
    PSU
    Corsair HX850
    Case
    Gigabyte Solo 210
    Cooling
    Zalman CNPS7X Tower
    Keyboard
    Microsoft AIO Wireless (includes touchpad)
    Mouse
    HP S1000 Plus Wireless
    Internet Speed
    500 Mb fiber optic
    Browser
    Chrome; MS Edge
    Antivirus
    Windows Defender
  • At a glance

    MacOS 12 MontereyIntel Core i58 GBIntel integrated
    Operating System
    MacOS 12 Monterey
    Computer type
    Laptop
    Manufacturer/Model
    Apple Macbook Air
    CPU
    Intel Core i5
    Memory
    8 GB
    Graphics card(s)
    Intel integrated
    Screen Resolution
    1440 by 900 pixels
    Hard Drives
    128 GB
    Keyboard
    Built-in
    Mouse
    Microsoft Wireless
    Internet Speed
    802.11 ac
    Browser
    Chrome; Safari
    Antivirus
    N/A
If you're familiar with DISM and offline images, stripping 8.3 from the mounted image is the preferred way to go.

But it can only be done one image at a time. Assuming you only install from one image in the WIM/ESD, then you can ignore the other images. On the other hand, if you're preparing a general purpose ISO when someone could select either Home or Pro, then your changes would have to be applied to the Home and Pro images separately (run the script multiple times).
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
IMO, the answer to a question that shouldn't have been asked. You're stripping away compatibility with older programs for a minimal and likely indistinguishable performance enhancement? Why would you do that? :unsure:
 

My Computers My Computers

  • At a glance

    Win 11 Pro 25H2, Build 26200.8655Intel Core i5 1450064GB DDR4GeForce RTX 4060
    OS
    Win 11 Pro 25H2, Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 NVMe PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    Seagate 4TB Ironwolf, rotating HDD archive files
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Defender Security
  • At a glance

    Win 11 Pro 25H2, Build 26200.8524Intel Core i5 1440032GB DDR5Intel 700 Embedded GPU
    Operating System
    Win 11 Pro 25H2, Build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Defender Security
Quick question: Is the performance difference noticeable? I don't think it is, and I don't want to reduce compatibility with older applications (such as PaintShop Pro 3.12) and old games. I play a lot of MS-DOS games through DosBox and I have also installed a third-party NTVM so I can play old 16-bit Windows games. If I strip 8.3 filename compatibility all of these will give an error, no thanks.
I am sorry. Stripping 8dot3 short file names off of Windows install image is not a one-size-fits-all thing. You may do as you please. This article is for informational purposes only and for the interested.

Happy computing.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro build 26200.8524Intel i7-4790Teams DDR3-1600 4x4 GBMSI Nvidia GeForce GTX 1050Ti
    OS
    Windows 11 Pro build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-4790
    Motherboard
    Asus H97 Pro Gamer with add-on TPM1.2 module
    Memory
    Teams DDR3-1600 4x4 GB
    Graphics Card(s)
    MSI Nvidia GeForce GTX 1050Ti
    Sound Card
    Realtek ALC1150
    Monitor(s) Displays
    Dell P2425D
    Screen Resolution
    2560 by 1440 pixels
    Hard Drives
    Corsair NVMe M.2 Core XT 1000 GB (Windows 11 v.25H2); Samsung SATA Evo 870 500 GB (Windows 11 v.25H2);
    PSU
    Corsair HX850
    Case
    Gigabyte Solo 210
    Cooling
    Zalman CNPS7X Tower
    Keyboard
    Microsoft AIO Wireless (includes touchpad)
    Mouse
    HP S1000 Plus Wireless
    Internet Speed
    500 Mb fiber optic
    Browser
    Chrome; MS Edge
    Antivirus
    Windows Defender
  • At a glance

    MacOS 12 MontereyIntel Core i58 GBIntel integrated
    Operating System
    MacOS 12 Monterey
    Computer type
    Laptop
    Manufacturer/Model
    Apple Macbook Air
    CPU
    Intel Core i5
    Memory
    8 GB
    Graphics card(s)
    Intel integrated
    Screen Resolution
    1440 by 900 pixels
    Hard Drives
    128 GB
    Keyboard
    Built-in
    Mouse
    Microsoft Wireless
    Internet Speed
    802.11 ac
    Browser
    Chrome; Safari
    Antivirus
    N/A

Latest Support Threads

Back
Top Bottom