After you install Active Directory on Windows Server 2008 R2, you may start seeing the following error message after the server boots: The DFS Namespace service could not initialize cross forest trust information on this domain controller, but it will periodically retry the operation. The return code is in the record data. This occurs because…
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 |
IE Enable/Disable Proxy Settings via Registry
Whatever the reason may be to enable or disable proxy, here is a simple registry hack to turn it on or off. Open powershell in admin mode. Enable:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 1 |
Disable:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 0 |
The above method require an IE restart, alternatively if you don’t want to restart IE. Make similar change under:
1 |
[HKEY_USERS\<your SID>\Software\Microsoft\Windows\CurrentVersion\Internet Settings] |
To find your SID…
Disable IPv6 on Windows Core Server 2008 R2 – 2012 R2
GUI Version: Open Control Panel > Network & Internet > Network & Sharing Center > Change Adapter Settings > Choose the Adapter Right Click – Select Properties Networking Tab DeSelect IPv6 Close No GUI… No problem (Core): After doing the above procedure you might have to use the registry editor aswell to completely disable the…
Change the password age in bulk for Active Directory accounts
Ran into an interesting situation where pretty much all domain accounts did not follow the default password policy and had the option of ‘password never expires’ checked. I needed to fix this immediately without impacting the users and expiring any accounts that may affect the business. I needed to adjust the password age for all…
Disable Office group creation
Every Exchange user has an OWA mailbox policy that governs what they can and can’t do with their mailbox. Updating this mailbox policy removes the ability for users to create Groups. Because OWA policies are per user, you can limit the ability to create Groups for some users and not others. At this time, the…
Saving emails in the ‘Sent Folder’ of shared mailboxes
When composing a message from a shared mailbox, by default when the message is ‘sent’, it is copied to the Sent Items for the user composing the message and not the Sent Items folder on the shared mailbox. Well, conveniently there is a way to enable this option in Exchange 2016 and Office365. I don’t understand…
ESXi 6.0 not detecting BROCADE HBA adapter
Steps: Make sure HBA is connected on the PCI slot and visible under esx hardware list:
1 |
esxcli hardware pci list |
Check if VMKernel can detect any storage via Fibre Channel
1 |
esxcli storage san fc list |
(output will be blank line if HBA driver is missing but HBA appears to be in PCI card determined from step 1)
1 |
esxcli storage core adapter rescan |
Search and download the…
Remove licensing from ESXi host
WARNING: This is for education/informational testing/development purposes only, and should not be used on a production server. WARNING: This trick will only work with an ESX(i) stand alone server. It will not work if the ESX(i) server is connected to a vCenter Server, as the vCenter Server knows better than to let you do this. …