A fully functional and activated 2012 R2 Remote Desktop Session Host server displayed the following message: This was a simple setup on one server with the: connection broker, Session Host and Licensing server with 2012 R2 CAL’s installed. Even though the licensing seems to be configured correctly, in server manager: and PowerShell: Licensing diagnostics: everywhere…
Tag: server
Create A Dedicated Account To Join Computers To A Domain
Admins often need to automate things, like creating a dedicated account for joining machines to an Active Directory (AD) domain. Â This is useful for things like System Center Configuration Manger task sequences and System Center Virtual Machine Manager templates or similar needs. First create a standard Windows user account. Â Next, right-click on the Computers Organization…
How to Configure Time Server (NTP Server) on Centos 7?
Prerequisites: VM/ Physical – It is recommended to have the time server as a physical server, but VMs should be okay depending on your setup and requirement. My virtual lab environment is VMware based so here’s the guide for a VM. Once the CentOS Minimal is installed on the VM make sure to install open-vm-tools….
DNS broken after Windows Update KB3145126
I noticed the DNS broke on my servers after Windows Update. The problem was KB3145126. Read more about it here. After a quick removal and reboot, DNS was operational again. To remove/uninstall KB3145126, open powershell and run the following:
1 |
wusa.exe /uninstall /KB:3145126 |
Hope this helps.
Check Proxy settings from Powershell
To check the proxy settings like ProxyOveride or if it is enabled or not:
1 |
Get-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" |
To disable proxy from PowerShell:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 0 |
To enable proxy from PowerShell:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 1 |
Quick and Simple Way to Export DHCP Scope Settings From One Server to Another
Applies to: Windows Server 2008 R2, Windows Server 2012R2, Windows Server 2016 From the command prompt on the source DHCP server run the following command:
1 |
netsh dhcp server export c:\dhcp.dat all |
2. Copy the “dhcp.dat†file to the new, or destination, DHCP server and run the following command:
1 |
netsh dhcp server import c:\dhcp.dat all |
While running the export command, the DHCP service will be temporarily…
Updating the system time on Server 2008R2 & 2012R2 using NTP Servers
To update, use the command below (2008 and 2012 server compatible)
1 |
w32tm /config /manualpeerlist:"ntp_server" /syncfromflags:manual /reliable:yes /update |
change the ntp_server with your source. Check http://tf.nist.gov/tf-cgi/servers.cgi for servers Restart the time service
1 2 |
net stop w32time net start w32time |
Resync the time
1 |
w32tm /resync |
Verify your sync status
1 |
w32tm /query /status |
Commands above should be fine if your sources are working correctly and/or your connection is OK (firewall or Microsoft Forefront…
Exporting Site List from IIS 7.x
Open up command prompt Type:Â %windir%\system32\inetsrv\appcmd list site > c:\sites.csv Open the Sites.csv file in Excel!