Windows
Contents
Delete HX user
$domain = "Domain_name.com" Get-AddressBookPolicy $domain* | Remove-AddressBookPolicy -Confirm:$false Get-AddressList $domain* | Remove-AddressList -Confirm:$false Get-GlobalAddressList $domain* | Remove-GlobalAddressList -Confirm:$false Get-OfflineAddressBook $domain* | Remove-OfflineAddressBook -Confirm:$false
Identify Worker Process in IIS 7.0
- From IIS 7.0 you need you to run IIS Command Tool ( appcmd ) .
- Start > Run > Cmd
- Go To Windows > System32 > Inetsrv
- Run appcmd list wp
Installing terminal licenses server 2012 2008 R2
- In powershell enter the following commands:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(4)
$obj.SetSpecifiedLicenseServerList("$env:computername")
$obj.GetSpecifiedLicenseServerList()
Remote control windows server 2012
qwinsta mstsc.exe /shadow:sessionID /control /noConsentPrompt
Export IIS bindings
%windir%\system32\inetsrv\appcmd list site > c:\sites-list.txt
Fix DCOM permissions error
https://www.tenforums.com/general-support/69270-dcom-error-10016-re-appid-f72671a9-012c-4725-9d2f-2a4d32d65169.html
Run regedit and let it search for the first Hive Key. Right click it and select "Permissions" A box will pop up. Tick "Advanced" Another box appears and you will see that the Hive Key is owned by "Trusted Installer"
Click on "Change" and type "Administrators" (without the quotation marks). Click apply and OK until your back into the first panel. Select Administrators from the list there and click on the "Full Control" check box.
Now do the same for the next Hive Key.
Leave Regedit open and run dcomcnfg. Click on the right hand side object until you see dcomconfig. Double click it and scroll down to the object named:
{F72671A9-012C-4725-9D2F-2A4D32D65169}
Right click that and select "Properties". Under "Launch and Activation" click on "Edit" . Add User "SYSTEM" (no quotes), Click OK. Back in the first panel select "SYSTEM" and click on the local permissions.
Close dcomcnfg and go back to regedit. In there you need to grant back ownership to the original owners. In this case one Hive Key was owned by "SYSTEM" the other by "TrustedInstaller" (type: NT SERVICE\TrustedInstaller)
Links
IIS 8.5 A+ SSL Labs [1]