Factory reset wipes your device and removes the password lock
A factory reset erases everything on your device — all files, apps, settings, and the password itself — and returns it to the state it left the factory. This is the most complete way to regain access, but it means losing all your data unless you have a backup stored elsewhere. The method depends on what kind of device you have and how locked it is.
If the device is powered on and you can reach the login screen, you have more options than if it's completely locked down. If you own the device but forgot your own password, the path is straightforward. If you're trying to reset someone else's device, most modern systems have protections that make this difficult on purpose — those protections exist to prevent theft.
Key Takeaways
- A factory reset removes the password but also erases all files, photos, and apps on the device.
- Windows, Mac, Android, and iPhone each have different reset methods, and some require you to prove you own the device.
- If you can reach the login screen, you can often reset without opening the device's case or using special tools.
- Backup files stored in cloud accounts (like iCloud or Google Drive) may survive the reset and restore afterward.
- If the device is completely locked and you cannot prove ownership, most manufacturers will not let you reset it remotely.
Factory reset on Windows without the password
On Windows 10 and 11, you can reset the device from the login screen if you can reach it. Click "I forgot my password" on the login screen, then follow the prompts to verify your identity using a recovery email or phone number tied to your Microsoft account. Windows will let you create a new password and proceed.
If you cannot access the login screen or do not have a Microsoft account recovery method set up, you can use a Windows installation disk or USB drive on another computer. Insert the disk, boot from it, and select "Repair your computer" to access recovery options. From there, you can launch Command Prompt and use commands to reset the local password or wipe the drive entirely. This requires a second computer and some technical steps, but it works on devices that are completely locked.
If the device uses BitLocker encryption (common on business Windows machines), you will need the BitLocker recovery key to proceed. Without it, the drive remains encrypted even after a reset attempt. Check your Microsoft account online or contact your IT department if you have one.
Factory reset on Mac without the password
On a Mac, restart the device and hold Command + R when ready after you hear the startup sound. This boots into Recovery Mode. From there, go to Utilities and select Terminal, then type the command to reset your password or erase the drive. You can also use "Erase Mac" from the Erase tab if you want a complete wipe.
If you have an Apple ID associated with the Mac, you can use that to verify your identity and reset the password without erasing anything. Go to the login screen, click the question mark icon, and follow the prompts to reset using your Apple ID. This preserves your files and settings.
Macs with Apple Silicon chips (M1, M2, and newer) have additional security that may require you to enter your Apple ID password even in Recovery Mode. If you do not have that password, you will need to contact Apple Support with proof of purchase to proceed further.
Factory reset on Android without the password
If you can reach the Android login screen, tap "Forgot password?" and follow the prompts to verify using your Google account. Android will let you set a new password and regain access without erasing the device.
If the device is completely locked, you can force a factory reset by holding Power and Volume Down together for about 10 seconds. This brings up the bootloader menu. Use the volume buttons to navigate to "Recovery Mode" and press Power to select it. Once in Recovery Mode, select "Wipe data / factory reset" using the volume buttons and Power button to confirm. This erases everything but removes the lock.
Some Android devices have a "Find My Mobile" service (Samsung) or "Find My Device" (Google) that lets you reset the password remotely if you have the account credentials. Log into the service on another device, select your phone, and choose the reset option. This works even if the phone is off, as long as it connects to the internet when it powers back on.
Factory reset on iPhone without the password
If you know your Apple ID password, go to Settings, tap your name, select "Password & Security," and choose "Change Password." This does not erase the device. If you do not know the Apple ID password, you will need to reset it through Apple's website before you can proceed.
To perform a complete factory reset, you need either the device passcode or the Apple ID credentials. If you have neither, connect the iPhone to a Mac or Windows computer with iTunes or Finder installed. Put the device in recovery mode by holding the correct button combination for your model (varies by iPhone generation), then select "Restore" to erase and reset it. You will be prompted to sign in with your Apple ID after the reset completes.
If you do not have access to a computer or the Apple ID password, contact Apple Support with proof of purchase. Apple can verify ownership and provide options to regain access. Without proof of purchase, Apple will not reset the device remotely, as this protects against theft.
What happens to your files after a factory reset
A factory reset erases all local files on the device — photos, documents, downloaded apps, and settings all disappear. However, files backed up to cloud services often survive. On Windows, files in OneDrive may restore if you sign back into your Microsoft account. On Mac, files in iCloud may restore when you sign into your Apple ID. On Android, files in Google Drive and Google Photos may restore when you sign into your Google account. On iPhone, files in iCloud may restore when you sign into your Apple ID.
Before you reset, check whether you have backups in these cloud services. Sign into the account on another device and read what you need. After the reset, sign back into the same account on your device, and many files will reappear automatically.
When you cannot reset the device yourself
Modern devices have anti-theft protections that prevent someone from resetting a device without proving ownership. If you own the device but cannot reset it yourself, contact the manufacturer's support line with proof of purchase — a receipt, order confirmation, or credit card statement. They can verify ownership and walk you through options or reset it remotely.
If you do not have proof of purchase, the manufacturer will not reset the device. This is intentional: it prevents thieves from wiping stolen phones and selling them. If the device belongs to someone else, ask them to perform the reset or provide you with written permission and proof of ownership before you proceed.
Frequently Asked Questions
Does factory reset remove the password completely?
Yes. A factory reset erases the password along with everything else on the device. After the reset, the device boots as if it just came from the factory, with no password set. You will create a new password during the setup process.
Can I recover files after a factory reset?
Files stored only on the device are gone permanently. Files backed up to cloud services like Google Drive, iCloud, OneDrive, or Google Photos may restore when you sign into those accounts after the reset. Files on external drives or USB sticks are unaffected.
What if I factory reset but still cannot log in?
If you reset the device but still cannot access it, the issue may be with your account credentials rather than the device itself. Try resetting your password for the account you are using (Microsoft, Apple ID, or Google account) on another device, then sign in again on the reset device.
Is there a way to reset without losing everything?
On Windows and Mac, you can reset the password without erasing the device if you have access to a recovery email or phone number. On Android and iPhone, you can reset the password without erasing if you have your Google or Apple ID credentials. A full factory reset always erases local files, but cloud backups may restore afterward.
Can I factory reset a device I do not own?
Most manufacturers require proof of ownership to reset a device remotely. If you do not have proof of purchase and cannot contact the owner, the device will remain locked. This protection exists to prevent theft.