You setup the domain, verified and you are in the process of configuring the Azure AD Connect Tool, you will be asked to enter the username and password for the tool to connect to the Azure AD.
The connector immediately stops with an error at the first step under the Express/Custom settings page titled “Connect to Azure AD” with the below error.
Unable to validate credentials. An unexpected error has occurred
This error most probably will show because you are using a user which ends with @outlook.com and the connect tool will not work with an service-bound Outlook username. To fix this issue and work successfully simply create a new ‘Global Admin’ user on the AD which ends @yourdomain.
In my case this worked like a charm.
When running Windows Server Backup to another location and you get the error “The process cannot access the file because it is being used by another process”.
To fix this you would need to look on the backup logs from the location %windir%\logs\windowsserverbackup.
In the error log file you will find
Error in deletion of [C:\System Volume Information\001.dat] while pruning the target VHD: Error [0x80070020] The process cannot access the file because it is being used by another process.
In my case, what I have done is that I deleted all the files in the target folder of the backup, re-run the backup and it worked.
When having workstations on workgroups trying to use resources from the server, you will need to enter the credentials everytime you restart the machine.
Continue reading How to: Automate server login on a workgroup using a batch file
When enabling the option for Windows Update to download updates for other products, you will get a blank white page on the Internet Explorer. The URL you visit is http://www.update.microsoft.com/microsoftupdate/v6/vistadefault.aspx?ln=en-gb.
To fix this when the IE window opens click on the Compatibility View button on the top and it will show the page.
When moving roles, the right way to do it is to view exactly where the roles are at the moment. Firstly to check this one can open the command prompt and use the following command.
Netdom /query FSMO
This will show the roles and who is the owner like below.
C:\Users\Administrator.dom>netdom /query fsmo
Schema master srv01.mydomain.com
Domain naming master srv01.mydomain.com
RID pool manager srv01.mydomain.com
Infrastructure master srv01.mydomain.com
The command completed successfully.
Now, to change the FSMO owner one must change the settings in the Active Directory Users and Computers, Active Directory Domains and Trusts and Active Directory Schema. This operation would be best to be done on the new server to transfer to.
1. Open the Active Directory Users and Computers and right click on the domain name node, in my case mydomain.com and select Operations Master. Make sure that the entry is the old server on the top dialog box and the new server on the bottom dialog box. Click on the Change button. Switch to the PDC tab and Instrastructure and do the the same operation.
2. Open theActive Directory Domains and Trusts. Right click on the root of the node and select Operations Master. Make sure that the entry is the old server on the top dialog box and the new server on the bottom dialog box. Click on the Change button.
3. Open a command prompt as Administrator and type
regsvr32 schmmgmt.dll to register the schema DLL file. Open MMC.EXE and click on File/Add remove Snap-in. Now find the Active Directory Schema from the list. Click on Add and OK. Right-click on the Active Directory Schema node and select Change Active Directory Controller. Select the new server, in this case srv02.mydomain.com. Right-click on the Active Directory Schema node and select Operations Master. Make sure that the entry is the old server on the top dialog box and the new server on the bottom dialog box. Click on the Change button.
If you will run below command,
Netdom /query FSMO, you will notice that the roles are now pointing to the new server i.e. srv02.mydomain.com.
One day I have noticed that some text gets blurry while scrolling on Firefox. I have managed to fix this by disabling a feature in Firefox.
Open a new tab
about:config in the address bar
Click on the “I’ll be careful I Promise” button
Double click on it to set it as false
I encountered the following error after I re-installed a computer from XP to Windows 7. After the installation I went to install a shared printer from another Windows XP and I Get the error “
Cant' connect to printer error 0x0000000a“.
To fix this simply:
Stop “Print Spool” service
Wait for about 20 seconds
Start the “Print Spool” service
Try to add the printer again
There you have it, Swish it’s fixed.
The other day I was having a problem with a lot of space being consumed in the C Drive on a Windows 2008 SBS or Windows 2011 SBS version. I have noticed that the InetPub log files were taking more than 50GB of space. Now, there is an automatic way to delete these log and have a breath of fresh space. You can either use the below script to run it manually or set it up in a Scheduled task. This will stop the services and clear the logs… Swish, there it’s fixed. Enjoy.
ECHO ** STOP IIS SERVICE **
NET STOP "TSGateway"
NET STOP "W3SVC"
ECHO ** DELETE OLD LOGS **
Forfiles.exe /P "C:\inetpub\logs\LogFiles\W3SVC1" /M *.log /D -5 /C "Cmd.exe /C del @path"
ECHO ** START IIS SERVICE **
NET START "W3SVC"
NET START "TSGateway"
Yep, Cisco VPN Client didn’t work first time but there is a small registry update to make it work. The installation worked fine but after I setup an entry it will tell me “Failed to enable Virtual Adapter” during “Securing communication channel”. There is a small registry fix for this.
Open Regedit and go to:
and modify the value of DisplayName key with the following
For 64 bit –
Cisco Systems VPN Adapter for 64-bit Windows
For 32 bit –
Cisco Systems VPN Adapter
Close Regedit and try to connect again… Voila’!
I went past an issue where I would have a flooding Error messages on the Event Viewer saying:
The description for Event ID ( 204 ) in Source ( IIDS ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: PurgeThread.cpp, 83, OS reports error:The system cannot find the path specified.
The Event ID and Source is irrelevant and it may vary depending on the service reporting the issue. In my case the issue was being reported by the Internet Imaging Document Server (IIDS).
This usually happens when there is a service which is installed and started, but not configured. In my case it was a service that could be stopped.
This could also happen with 3rd party applications where it was installed with a user account and the service account doesn’t get permission to pull the info about the required DLLs like that.
Hope it helps someone