How to run Outlook autodiscover silent without any user intervention

If you want to run the autodiscover wizard in the background without asking the user to click “next, next, finish” to configure and create the outlook profile, you need just add the following registry key to your users profile:

Value name: ZeroConfigExchange
Value type: REG_DWORD
Value data: 1

Or using a GPO; enable this Outlook 2013 Policy on your domain :

User configuration / Policies / Administrative templates / Microsoft Outlook 2013 / Account Settings / Exchange / Automatically configure profile based on Active Directory Primary SMTP address


How to Reset Windows Update components

Some days ago I had an issue on a Windows 10 machine that had a high I/O on disk since many days. The problem came from the Windows Update service, so because rebooting do not solved the problem :-) I tried to reset the Windows Update service.

First stop these services:

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc

Then run this command:

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

Last step is restarting the services:

net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

Fortunately the problem was solved.


How to view WindowsUpdate.log on Windows 10

With Windows 10 Windows Update logs are now generated using ETW.

In order to read it, you can use a PowerShell cmdlet to create a readable WindowsUpdate.log.


You will find a WindowsUpdate.log on your desktop.


How to Maintain Directory Services Restore Mode (DSRM) password

Starting with Windows Server 2008 R2 (is available a hotfix for Windows 2008) a new feature was introduced to enable you to copy the password of a domain account to the DSRM password on a domain controller using NTDSUTIL. This make the maintenance of DSRM password across an entire domain much easier.

First you need to create a disabled user account in AD (just a simple user without any admins rights). For example dsrmaccount@myad.test
Then you need to run on every DCs this command:

ntdsutil.exe "Set DSRM Password" "Sync From Domain Account dsrmaccount@myad.test" Q Q

If you have multiple domains in your forest, you will need to create and maintain a user account to synchronize the DSRM password with in each domain.

This task can easily scheduled via GPP on every DCs.

Problem: Scheduled Task deployed via GP Preferences is not showing/running on Windows Server 2012 R2

I have a GPO that configure a Scheduled Task on all DCs for DSRM password change. Recently we deployed our first Windows 2012 R2 DC but unfortunately, on this new DC, the Scheduled Task deployed by GPO was not present. GPResult show that the GPO was applied correctly, but nothing was showing/created on “Task Scheduler”.

After some investigation, I discovered that the problem was the level of “Scheduled Task”; when creating a scheduled task via GPP (Group Policy Preferences) you should select:

NEW/Scheduled Task (At least Windows 7) instead of NEW/Scheduled Task.


As soon as I did that the GPP applied and created the task on the Windows 2012 R2.