Run New-PSSession as Scheduled Task

An internal error occurred. PSInvalidOperationException + FullyQualifiedErrorId : CreateRemoteRunspaceFailed After literally 2 hours bashing my head why a scheduled task would not run as a service account. But worked fine with normal account. Granting the ‘Allow log on as batch job’, ‘Allow log on locally’, and even adding the account to the Local Administrators group […]

Continue Reading

How to pin KiTTY to the taskbar

After failing to get KiTTY to pin to the taskbar through various methods of creating shortcuts etc, all I had to do was the following. Download the PuTTY Installer – http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Download the KiTTY exe – http://www.9bis.net/kitty/?page=Download Install PuTTY. Copy the KiTTY.exe into the PuTTY installation folder (default: C:\Program Files (x86)\PuTTY) Now drag the KiTTY.exe […]

Continue Reading

Squid NTLM and AD Authentication

The final undocumented step of configuring Squid 3 NTLM (Active Directory) Authentication. Depending on the order of installing squid3/winbind/samba your NTLM may not work even though all the acl’s are set up correctly and winbind is reporting AD users and groups perfectly via wbinfo -u Edit /etc/group – find the line containing winbindd_priv and ensure the proxy […]

Continue Reading

Monitoring RWW Connections

Recently scouring the internet for a way to monitor login/logout (connect/disconnect) of Remote Web Workplace connections through our SBS 2011 server proved to be a little problematic. I found solutions such as RWWGuard/RWWProtect but it only seemed to support older SBS versions or had a purchase price. Other links suggested searching through the IIS logs – […]

Continue Reading