Posts

Showing posts from December, 2013

Veeam backup fails with "Cannot start service"

I've cut and pasted this from  http://social.technet.microsoft.com/Forums/windowsserver/en-US/9cf42e8a-2a33-47c5-a797-269330e9ba1a/vss-writer-fails?forum=winserverfiles This solves an issue we were seeing when using Veeam to backup an Exchange 2010 CAS server.  The job failed with error: Processing 'ServerName' Error: Cannot start service. Machine [IP].Service[VeeamVssSupport]. Cannot start service. Win32 error: The system cannot find the file specified. Code 2. We found this link and in the middle of the forum this snippet: "Please open the Disk Management console, located at "Server Manager\Storage\Disk Management" and see which partition has been marked as Active volume. If the Active volume is different from the volume in which you install the operating system, try changing the Active volume to the volume containing the operating system by using the following commands: 1. Open a command prompt as Administrator. 2. Run diskpart. 3.

Powershell to find logged in users...

You may find this useful. I found that my account was getting locked out from some RDP session I'd disconnected sometime ago...naughty naughty... Anyways here is some Powershell to list users with TS Sessions... You need the PSTerminalServices add in  http://archive.msdn.microsoft.com/PSTerminalServices And to make things easier (for me) I created a list of all my servers called "serverlist.csv" Import-Module PSTerminalServices $MachineList = Get-Content -Path c:\serverlist.csv; # One system name per line foreach ($Machine in $MachineList) {     "---------" + $Machine + "---------"     Get-TSSession -ComputerName $Machine -erroraction 'silentlycontinue' | Select UserName,State     "---------------------------------" } Here's a version for specific username Import-Module PSTerminalServices $MachineList = Get-Content -Path c:\serverlist.csv; # One system name per line foreach ($Machine in $MachineList) {