📎 AI Summary:
The thread discusses creating an unattended batch file to format hard drives on Windows 7. The original poster asks if a simple batch command can fully automate the format process without user input, but a responder advises that using an autounattend.xml file is a more reliable method, though licensing issues may arise. The discussion concludes with the clarification that formatting a mounted filesystem like C: isn't feasible while the system is running. Overall, the conversation leans towards caution and technical limitations rather than providing a straightforward solution.

BoKnows04

Well-Known Member
Member details
Joined
Feb 17, 2018
Messages
9
Thread Author #1
Hey Guys,
I was wanting to create a batch file to automatically format my harddrives unattended.
My pc's are Windows 7. I dont want to press any keys, Id like for it to be fully unattended

What I have so far is this:
@echo off
format C: /FS:NTFS /X

Will this work?
Have you guys tested any batch files like this successfully?

I'm probably going to build a PC with no importace and test it out. Just wanted you guys option


thanks,
 

Solution
You'll need to download or build an autounattend.xml file and place it on the root of the disc or usb with the windows installer. You can add the format commands in the xml file. This generally won't work license wise since only Enterprise licenses work on multiple devices. Everything else can be automated fairly easily.

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
You'll need to download or build an autounattend.xml file and place it on the root of the disc or usb with the windows installer. You can add the format commands in the xml file. This generally won't work license wise since only Enterprise licenses work on multiple devices. Everything else can be automated fairly easily.
 

Solution

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
You won't be able to format a mounted filesystem such as C: since everything is running from it