Windows 8.1 .bat file glitched

Something is extremely wrong if you cannot set this. Try setting your UAC down to the lowest level at "Control Panel\User Accounts and Family Safety\User Accounts".

Don't try to change the program, just remove the association to Notepad. If the Control Panel interface won't let you do it, Open Regedit and look for all instances of ".bat" and remove ONLY the references to Notepad.exe.

As far as "Sync your Settings" goes, that has no bearing on it, I already checked.

You should be able to take any BAT file you made and just change the extension to CMD if you simply cannot use BAT files.

You can always try something like this:

Advanced BAT to EXE Converter - Freeware compile batch files to exe with Mouse Input

Pump one of your BAT files into that, and see if it makes an EXE that works.

Actually, I just tried that with one of mine, and it made a perfectly working EXE file, so give it a try. You can even build the EXE from a BAT right in the Program.

It's a free program but you can buy a Pro version of it.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.

My Computer

System One

  • OS
    Windows 8 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    AMD
    Memory
    16g
Thats why you will have to manually remove the Notepad association. Dont try to change it, try to remove it. Shawn may be able to create a Registry script that can do it, I asked him.

It seems that once you set the Notepad to BAT, it cannot be changed back. You must have told it to open with Notepad "always" - You have to make sure that the "Always Open with this program" is NOT checked and then you will have and Open and an Edit for BAT. But once it's set to always open with Notepad, thats it.

Try the "BAttoEXE" link I posted, it works well and that may solve all of this.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
Ok, I'm on my Dell Precision 370 Workstation and I'm going to Break my BAT files. Hopefully I'll be able to see if it even allows me to fix it.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
You are right, the registry fix does not work!

Our apologies, ill get into this ASAP.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.
 
Last edited:

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.

What is an In-place install?
 

My Computer

System One

  • OS
    Windows 8 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    AMD
    Memory
    16g
Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.

What is an In-place install?

Hello 99lool,

It would be a repair install. :)

http://www.eightforums.com/tutorials/26095-repair-install-windows-8-a.html
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
I'm not gettin in to this again, if your install disk installs the OS and this issue is present from the start, then there is something very wrong with it- Download a new install disk.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
Hi guys. I know this is an old old thread, but seeing as it in the top google results for searches on this issue I thought I'd share a simple solution.

After running the appropriate .reg file found on this page Default File Associations - Restore in Windows 8, do the following. (direct .bat link here)

Open regedit.exe

Go to HKEY_CLASSES_ROOT\batfile\shell\open\command

Set the default value to the absolute path of cmd.exe followed by /C "%1" %* - my value looks like C:\Windows\System32\cmd.exe /C "%1" %*

Now open up Control Panel > Programs > Default Programs > Associatiate a file type or protocall with a program

Find the entry for .bat and click change. You should see the option Windows Command Processor. If not, set it to something else first and do it again - I found it may not show the registry defined option at first.

DONE. You can now run .bat files and you didn't have to reinstall. Microsoft seem to have done something very strange here, and decided to set up their file associations somewhere other than the registry - though to fix things you need to make registry changes!? Who knows. I know the above works though!
 

My Computer

System One

  • OS
    win 8.1
Back
Top