Archive | March, 2010

Tightvnc and Ctrl-Alt-Delete

I used Tightvnc today but didn’t remember how to send Ctrl-Alt-Delete to the server. It was easy. Just hit F8 and click on Ctrl-Alt-Delete in the pop-up. Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments [...]

Continue Reading

No mail send with SQL Maintenance Plan

Yesterday I setup a Maintenance plan for SQL 2005 with a notification trough mail. This morning I checked my mailbox, but no mail from the SQL server. After a quick look in the history from the Maintenance plan, I’ve saw the following error. Could not generate mail report.An exception occurred while executing a Transact-SQL statement [...]

Continue Reading

Defrag and SDelete on every fixed harddisk

Use this VBS script to run a defrag en SDelete on all your fixed drives from your computer Set WshShell = WScript.CreateObject(“WScript.Shell”) Dim fso, d, dc Set fso = CreateObject(“Scripting.FileSystemObject”) Set dc = fso.Drives WshShell.RegWrite “HKCU\Software\Sysinternals\”, 0, “REG_SZ” WshShell.RegWrite “HKCU\Software\Sysinternals\SDelete\”, 0, “REG_SZ” WshShell.RegWrite “HKCU\Software\Sysinternals\SDelete\EulaAccepted”, 1, “REG_DWORD” For Each d in dc If d.DriveType = 2 [...]

Continue Reading

Delete files older than x days in CLI

forfiles /p “C:\DIRECTORY” /d -7 /c “CMD /C del @FILE Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on this post Bookmark in Browser Tell a friend

Continue Reading

Convert movie to N97 format

ffmpeg -i YourMovie.avi -b 2300k -r 30 -s 640×360 N97movie.mp4 or ffmpeg -i YourMovie.avi -f mp4 -acodec mp2 N97movie.mp4 Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on this post Bookmark in Browser Tell a [...]

Continue Reading

This is why Thin Provisioning s*cks

The answer lies in the SCSI protocol.  As you know, our SAN is just a really big SCSI drive, for all that the server knows. It doesn’t know that the SAN is off on the network, and that the iSCSI initiator intercepts commands to/from the OS and redirects them over to us. Unfortunately, the is [...]

Continue Reading

Count files in a directory batch

dir “C:\FOLDER” /b/s |find /v /c “::” Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on this post Bookmark in Browser Tell a friend

Continue Reading

iSCSI and VMWare Tips

I found a great article named A “Multivendor Post” to help our mutual iSCSI customers using VMware You really should read it if your using a SAN in combination with ESX 3.5 http://virtualgeek.typepad.com/virtual_geek/2009/01/a-multivendor-post-to-help-our-mutual-iscsi-customers-using-vmware.html Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet [...]

Continue Reading

Creating a quiesced snapshot failed because the create snapshot operation exceeded the time limit for holding off I/O in the frozen virtual machine

This issue may occur due to incorrect snapshot configuration files. To fix the files: Connect to the ESX host or VirtualCenter through VMware Infrastructure Client. Select the virtual machine. Browse the datastores used by the virtual machine.  Find and rename the files with the following extensions: *.vmsn *.vmsd Retry the snapshot or backup operation. If the operations [...]

Continue Reading

Disk.UseLunReset and/or Disk.UseDeviceReset

A setting often overlooked is Disk.UseLunReset and/or Disk.UseDeviceReset. ESX defaults to Disk.UseLunReset=1 and Disk.UseDeviceReset=1. This means that when a SCSI bus is reset all SCSI reservations are cleared, not for a specific LUN but for the complete device. This is useful when one uses local storage, but within a VMware environment most companies utilize a [...]

Continue Reading