Outlook email account setup

How to Enable Outlook Manual Account Setup

Outlook from Microsoft 365 (Office 365) has a simplified Auto Outlook Email Account Setup wizard, the option to manually create an account no longer appears. However, there is a possibility to make the option for outlook manual account setup available anyway.

Outlook Manual Email Account Setup

Outlook 365 Manual Setup of an Account

DisableOffice365SimplifiedAccountCreation

  1. Close Outlook if it is already open.
  2. Next, open Registry Editor with the Windows+R keys and type regedit and click OK.
  3. In Registry Editor, navigate to the following key: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Setup
  4. Right-click to open menu and click New to select DWORD (32-bit):
  5. Rename the new DWORD key with the value : DisableOffice365SimplifiedAccountCreation
  6. Double-click the new key to change the value.
  7. In the field, enter a value of 1 and click OK.
  8. Close Registry Editor and restart Outlook.
Open Registry Editor to create the Registry Key DisableOffice365SimplifiedAccountCreation.

It is also possible to activate the Outlook option for manual account setup do perform the REG ADD command.

To do this, open a command prompt with the key combination Windows+Rcmd and click OK.

Open command prompt cmd

Insert the following line in the command prompt and press Enter.

REG ADD "HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\Setup" /v "DisableOffice365SimplifiedAccountCreation" /t REG_DWORD /d "1" /f

Start Outlook and select Manual setup or additional server types.

Outlook do not accept my password

If Outlook do not accept your password and you know you’re using the password for your email account, you might have an email account that requires additional security.

Gmail, Yahoo, iCloud, Outlook.com, and AOL accounts all use two-factor authentication to help verify that you’re the person trying to access your email account.

To add your email account to Outlook, depending on your provider you might need an app password, also known as an application password. This is a different password than your regular email account password. One way you’ll know you need an app password is if you see the following message: 2-factor authentication is set up for your account. Please sign in using your application password.

Add Active Directory user in PowerShell from CSV-file

Automatically create users with New-AdUser from Import-CSV file

If a large number of users is to be created automatically in Active Directory, PowerShell is also the appropriate way to go, create multiple Active Directory user objects with New-AdUser via Import-Csv.

This tutorial shows how to use of New-AdUser for automated user creation, by importing object data from a CSV file with Import-Csv.

When migrating where parts of users from an organizational unit (OU) are transferred from an Active Directory forest to a new or different forest, the Active Directory modules are suitable for user management, with the cmdlet “Get-AdUser” as well as for creating new accounts with “New-AdUser“. A total of around 50 parameters are supported whose names match the attributes in the AD.

A simple command could look like this if you have a new user with the SamAccountNameSebastian“.

$Password = Read-Host "Enter a Password" -AsSecureString
New-AdUser -Name Sebastian -GivenName Sebastian -Surname Furrer -Path "OU=User,OU=Office,DC=Company,DC=com" -Enabled $True -AccountPassword $Password -ChangePasswordAtLogon $True

The command creates a user and apply the AccountPassword parameter to set a password that was previously entered. Numerous other attributes with values can be applied. For a simple user creation, this example is already sufficient to the user are able to authenticate against active directory.

User export and import via CSV file

The users can be exported from the OU to a CSV file by using filters, which is then available for the user import, this for the next step to the intended target organizational unit.

Get-AdUser -Filter * -SearchBase "OU=User,OU=Office,DC=Company,DC=com" | Export-Csv -Path .\users.csv -NoClobber -Delimiter ";"

With a large number of users, you will not want to create them individually. The best way to import data contains a list of object properties from the CSV file is to do this. The prerequisite must be met that the column headings in the CSV file exactly match the names of the parameters. A file exported with Export-Csv might look something like this.

User export and import via CSV file

  If the export has been formatted with a comma as a delimiter, specify import-csv with delimiter via parameter -Delimiter.

A foreach loop creates the users in the specified OU context.

$Import = Import-CSV ".\users.csv" -Delimiter ";"
$OU = "OU=User,OU=Office,DC=Company,DC=com"
$Password = ConvertTo-SecureString "Initpass" -AsPlainText -Force

foreach ($user in $Import) {
  New-ADUser -Name $user.SamAccountName -GivenName $user.GivenName -Surname $user.Surname -Path $OU -AccountPassword $Password -ChangePasswordAtLogon $True -Enabled $True -UserPrincipalName $user.UserPrincipalName
}

Run the command-lines in PowerShell in the same directory where the exported CSV file (“users.csv“) is located, or apply the appropriate path with the -Path parameter.

Windows PowerShell ISE New-AdUser

As soon as the newly created user logs on to AD, he is prompted to enter a new password, which replaces the initial password (“Initpass“).

Conclusion

The Active Directory cmdlet New-ADUser makes it easy to create multiple Active Directory users. Frequently used user property values can be set with parameters. Using the Import-Csv with New-ADUser cmdlet, it is possible to create a large number of Active Directory user objects. The custom objects are created from a comma-separated CSV file that contains a list of object properties. The objects are piped to New-ADUser to create the user objects with attributes. The help is output with get-help New-ADUser.