Author Archive

How To Backup A SQL Express Database With A Scheduled Task, And Cleanup Old Backups

So you are running SQL Server (2005 or 2008) Express (presumably installed as part of an application server install) and you would like to make sure your databases are backing up each night. You go to load the SQL Server Management Studio only to discover it’s not there. So then you head on over to…
Read On…

Fix: Citrix Netscaler Access Gateway Blank Page, Missing Username Or Password

This article is written specifically for the Netscaler VPX virtual appliance, so your mileage may vary. Increasingly we were getting complaints from users of incompatibility with Internet Explorer 10 and 11 when trying to login to our company’s remote access portal, which is fronted by an Access Gateway virtual server on our Netscaler VPX appliance….
Read On…

Can’t Power Off Virtual Machine: Operation Cannot Be Performed In Current State

If you are having trouble powering off a VMware ESXi 5.x virtual machine, there is a command line method to force the VM to shut down. Here was the message I was receiving when trying to power off a VM: The attempted operation cannot be performed in the current state. So the current state, which…
Read On…

How To Use PowerShell To Connect To Office 365 And Recursively Add Mailbox Folder Permissions

In case you haven’t noticed, Microsoft is making you do more and more with PowerShell. Features we’d love to see in a GUI interface instead require commands and scripts. Okay, this is good when you want to automate things, but not so great for the occasional need. For example, where I work we occasionally need…
Read On…

RDS and XenApp: How To Prune FontCache Files Under Windows ServiceProfiles Directory

I’m not sure exactly when this started on my Remote Desktop Service (RDS) and Citrix XenApp servers (because it wasn’t always a problem), but on both Windows Server 2008 R2 and Windows Server 2012 I’m seeing a large number of “FontCache” files in this specific location: C:\Windows\ServiceProfiles\LocalService\AppData\Local Again, this is only a problem on RDS…
Read On…

Batch File: Append Ping Failures And Time Stamp To A Text File

So I’m trying to troubleshoot a problem where backups of a Windows 2008 server over a 1.5Mbps Wide Area Network (WAN) connection keep failing. Occasionally it will work, but most nights it will fail after running for several hours. We have a number of in-house network troubleshooting tools and I also know there are endless…
Read On…