Rexxer

Some tips for me and other

Windows

Active Directory + Outlook 2013 template (Office 2013 templates)

To manage account settings in Outlook in a domain I decided to do this via GPO. For Office 2013 only ADMX templates are present. So you can’t import them via gpedit. 1. Create a Central Store for templates: http://support.microsoft.com/kb/929841 2. Download this http://www.microsoft.com/en-us/download/details.aspx?id=6243 and copy to the PolicyDefinitions folder. 3. Download http://www.microsoft.com/download/en/details.aspx?id=18968 and copy it […]

Windows Server 2012 + Terminal Services + Sessions script

My script for connecting to the user’s sessions without GUI: Write-host “Getting sessions list …” Get-RDUserSession | ft Username, UnifiedSessionId, SessionState, HostServer -GroupBy Sessionstate $sess = read-host “Enter session’s number: ” If ($sess -ne “”) { Mstsc /shadow:$sess /control /noConsentPrompt Write-host “Connecting and exiting.” } Else { Write-host “No sessions were choosen – Exiting.” }

Windows 2012 Terminal Services + Thinstation + cursor issue

I have a Windows Server 2012 and users connect to it via RDP. They have thin clients Wyse 3150 with ADM Geode. If they use built client they get artifacts on a screen after 5-10 min. If they use Linux client from PXE (Thinstation 2.2.2i) they have issues with a cursor – it disappears suddenly […]

Windows 8.1 + WSUS + .net3.5 installation failed

You have to make a change in your local or domain group policy. If it’s win2k8 domain – the local PC policy (gpedit.msc). That’s there: Administrative Templates – System – “Specify settings for optional component installation and component repair”. Set it to “Enabled” and check the box “Contact Windows Update directly to download repair content […]

Windows 2008R2 WDS + TFTP

I tested thinstation on WDS and it always complain on config files – couldn’t find. I checked TFTP root folder for WDS: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP\RootFolder And add /* and \* there: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers\WDSTFTP\ReadFilter  

Windows 2012 Server + Powershell + registry + disabling IPv6

You can easy disable IPv6 with command: New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff and this is example how to work with registry with powershell.

RDP connection error due certificate

Recently I’ve deleted a machine certificate from a certificate store and couldn’t connect to it via RDP. Fix: Run these commands in powershell: certutil -store “Remote Desktop” | findstr “Serial Before After” find deleted certificate and use it in the next command: certutil -delstore “Remote Desktop” ThumbOfCertificate Now you can connect to this PC via RDP – the machine will generate the […]

Windows + reset registry permissions to default

Use this tool from MS: subinacl Create the command file like reset.cmd: cd /d “C:\Program Files (x86)\Windows Resource Kits\Tools” subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose pause Edit the first […]

Windows Server 2012 + Terminal + Connect to a remote session

Powershell commands: List of sessions: Get-RDUserSession | ft Username, UnifiedSessionId, SessionState, HostServer, ApplicationType -GroupBy Sessionstate Connect to the session #2: Mstsc /shadow:2 /control

Migration steps for IIS 7.5 and MSSQL 2012

IIS You have to install Microsoft Web Deployment Installer 4.5 and the modules below for IIS migration. Then you can choose from the server menu (right side) – ”Export Server Package” and save IIS backup. On the destination server choose “Import Server Package” and import IIS backup from the source server. It will overwrite all […]

Previous Posts Next posts