How to Set Up Desktop Outlook on a New Windows 11 Computer
Question details
Users setting up desktop Outlook on a new Windows 11 PC are encountering unexpected password prompts for an Outlook data file (PST) or secure mail key instead of their standard Microsoft 365 account password.

- Product
- Microsoft Outlook
- Device & OS
- Windows 11
- Scenario
- Configuring desktop Outlook on a new computer and attempting to access or migrate old email data.
- Observed behavior
- The application rejects the secure mail key or prompts for a PST file/old profile password, preventing successful login and synchronization.
Ensure you have your primary Microsoft 365 account credentials ready, and verify your internet connection. If you are importing a PST file from an old computer, locate the password originally used to encrypt it.
Create a New Outlook Profile
Creating a fresh Outlook profile bypasses errors linked to old data files and allows you to add your Microsoft 365 account using the correct modern sign-in method.
Often, Outlook pulls corrupted or outdated profile configurations from previous installations or migrations. Starting with a clean profile forces Outlook to authenticate with Microsoft 365 directly.
Click the Windows Start button, type 'Control Panel', and open it. Change the view to Large Icons, then click on 'Mail (Microsoft Outlook)'.
Click the 'Show Profiles' button. Click 'Add', enter a new name for this profile (e.g., 'New Windows 11 Profile'), and click 'OK'.
Enter your name, Microsoft 365 email address, and password. Follow the prompts to complete the setup, then check the 'Always use this profile' option and select your new profile from the drop-down list.

Enter the Correct PST Data File Password
If Outlook specifically requests an Outlook Data File password, you must enter the password that was used to encrypt the PST file on the old computer.
Generate a New Secure Mail Key
If you are using a third-party email provider (like AT&T or Yahoo) and your old secure mail key is rejected, you must generate a new one from your provider's website.
Try WPS Office for a Seamless Productivity Experience
While Microsoft Outlook manages your emails, WPS Office offers a free, lightweight, and highly compatible suite for your documents, spreadsheets, and presentations. It is the perfect companion for your new Windows 11 computer.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button for Windows.
- 2. Install WPS Office: Run the downloaded installer and follow the on-screen instructions to set it up on your Windows 11 PC.
- 3. Open Your Documents: Launch WPS Office and instantly open your existing Word, Excel, and PowerPoint files without formatting issues.

Frequently Asked Questions
Why is Outlook asking for a data file password on my new computer?
Outlook prompts for a data file password if you imported a local PST file that was previously encrypted with a password on your old computer. This is a local security measure, separate from your email account password.
Can Microsoft help me recover a forgotten PST password?
No, Microsoft does not have access to local PST passwords and cannot retrieve or reset them. If you lose the PST password, the data inside that specific file cannot be recovered.
What is a secure mail key in Outlook?
A secure mail key (also known as an app password) is a unique, 16-character password generated by email providers like AT&T or Yahoo. It allows desktop clients like Outlook to connect to their servers securely without using your primary account password.
How do I sync my old folders if I don't have a PST file?
If your email is hosted on an Exchange server or Outlook.com, your emails, contacts, and folders are stored in the cloud. Simply set up your account in Outlook, and the software will automatically download and synchronize your data over the internet.




