January 31, 2010 - 11:50 am
Tags: delete, file, Powershell, remote, Script
Posted in PowerShell | No comments
The following PowerShell script recipe will help you delete a remote file based on a list of computers stored in a text file. New PowerShell function will be created during the session which will be piped from the text file.
Generate C:\Scripts\Active_Computers.txt with computer names.
[PowerShell] function delete-remotefile { PROCESS { [...]
The following PowerShell script recipe will help you check a remote file based on a list of computers stored in a text file. A new PowerShell function will be created during the session which will be piped from the text file.
In the following PowerShell example I will check if install.exe exists on the remote [...]
In my previous post I created a USB installation disk with Windows 7 USB DVD Download Tool. Now I am going to use the USB disk to install my systems but also I can use this media to install my virtual machines. VMWare Workstation 6.5 or lower does not support to boot from USB removable [...]
VMWare has updated their client virtualization platform and released the VMWare Workstation 7 release.
Why upgrade?
Ultimate Desktop Virtualization Product for Windows 7
Best 3D Graphics Just Got Better with for support Windows Aero in Windows Vista and Windows 7 virtual machines
Most Advanced Virtualization Platform with up to 4 virtual processors or 4 virtual cores and [...]
My Openfiler SAN died and the virtual machine with Virtual Center Server needed to be reboot. After reboot
the “VMWare VirtualCenter Server” service failed to start with following error message:
Event Type: Error
Event Source: VMware VirtualCenter Server
Event Category: None
Event ID: 1000
Date: 7/14/2009
Time: 10:00:42 AM
User: N/A
Computer: VC
Description:
The description for Event ID ( 1000 ) in Source ( VMware VirtualCenter [...]
Last night we lost our Openfiler SAN with a “kernel panic” stop message and all virtual machines located on the VMWare ESX cluster were frozen. After I found the problem and I reboot the SAN box; I than encountered another problem on one of our development SQL server. Just after the POST phase a black screen [...]
June 9, 2009 - 12:04 pm
Tags: esx3i, manage, monitor, Veeam, VMWare
Posted in Veeam | 1 comment
Veeam released latest version of their “Veeam Monitor 4.0 Free Edition for VMware” which is free monitoring tool for ESXi hosts.
The Veeam Monitor Free Edition is an easy-to-use VMware monitoring solution designed to meet the day-to-day needs of VMware administrators who need real-time performance monitoring and alerting. Built from the ground up specifically for the virtual world, [...]
April 21, 2009 - 5:14 pm
Tags: address, ESX, howto, mac, static, VMWare
Posted in ESX | 7 comments
Last week I planned to migrate some virtual machines running on a Windows host with VMWare Server 1.x version to VMWare ESX 3.5i host. One of the vm’s is running as license server and the key is registered by using the MAC of the network interface.
I had the prerequisite of keeping the MAC address of [...]
If you are managing a Windows Server 2003 file server than this add-on should be installed.
Windows Server 2003 Access-based Enumeration makes visible only those files or folders that the user has the rights to access. When Access-based Enumeration is enabled, Windows will not display files or folders that the user does not have the rights [...]
Finally after 2,5 year Vista was released I can say “WOW” with the first public beta of Windows 7. The installation process was and went smooth. I installed one VM and two physical machines. The setup went fine on a Lenovo ThinkCentre M57 and on my ASUS home system. I am looking forward to see [...]
September 27, 2008 - 9:34 pm
Thanks! Worked for me.
–BT
September 29, 2008 - 10:57 pm
I virtualized a fisical machine but when i tried to open on workstation i got the same error: failed to lock the file. So i removed the 2 folders .lck but when starting again the machine i get this error: Cannot connect virtual device ide1:1. No corresponding device is available on the host.
It tries to open but as soon as windows screen appears i get a blu screen! i tried to map the drive to z as you suggested but i get the same error.
Can you helpme please. thanks
November 22, 2008 - 4:15 pm
Thank you for your post, it worked great! thanks for sharing the knowledge!
November 22, 2008 - 6:07 pm
Works! Great Tip
December 1, 2008 - 10:24 am
Wow i did it. Great thanks.
December 4, 2008 - 2:04 pm
Worked for me as well!
thanx
December 30, 2008 - 1:33 pm
Thanks so much for sharing this with us.
January 13, 2009 - 12:19 am
Yep ty, worked 4 me.
January 19, 2009 - 7:18 am
tks a lot
February 23, 2009 - 4:18 pm
Very very thanks!
February 26, 2009 - 5:07 pm
I had a similar problem after a power outage. In /var/lib/vmware/Virtual Machines/ there are 2 folders which end in .lck. Deleting both of these solved my problem
March 2, 2009 - 8:14 am
Thanks worked for me as well and I was running Ubuntu on VM not windows!
March 6, 2009 - 3:40 pm
Worked. Thanks.
March 11, 2009 - 1:29 pm
Worked. Thanks.
March 18, 2009 - 2:23 pm
Thanks… it worked
March 26, 2009 - 2:29 pm
You are the best
April 9, 2009 - 2:52 am
Grasia fiera, me rre sirbio
April 26, 2009 - 9:21 pm
Renaming the .lck files (safer than deleting until I verified it would work ) worked perfectly for me. I am running VMware Server 2 under an Ubuntu Server v-8.04 64 bit platform, Dell Precision T3400 8Gb RAM machine.
I had been running several VMware Workstation machines under XP Pro with VMware Workstation v-6.5 with a Dell Vostro 220 4Gb RAM machine, and wanted to migrate the virtual machines to the VMWare Server 2 for better load balancing, and on a higher RAM machine for greater concurrent virtual machine density. Imagine my surprise when the first imported machine worked great. The others did not, until I renamed the .lck files. Your post saved me hours of setting up new virtual machines.
Thank You!
Gil
May 12, 2009 - 11:04 am
Wow, thanks a lot, u saved so much of my time
May 13, 2009 - 7:24 pm
Thanks a million that worked
May 14, 2009 - 7:30 pm
ho lo stesso problema ho fatto le seguenti prove:
ho la vmware server con windows 2003 server su server linux red hat 5 enterprise edition
1: cliccando su start mi dà l’errore:
Unable to Power On virtual machine with “A General System error occurred: Internal error”
2: ps -eaf|grep vmware
root 26375 19955
Message from hyperion.sin.it: Cannot open the disk ‘/u03/VMachine/W2k3PLA/W2k3PLA.vmdk’ or one of the snapshot disks it depends on. Reason: Failed to lock the file.
qual’è il pid è 26375 o 19955
3: devo fare kill 26375 o kill 19955
e riavviare la virtual machine?
aspetto una mail di risposta.
grazie cordiali saluti
dott. ugo montorsi
May 28, 2009 - 5:35 pm
Thanks a million… worked for me and saved my VM!
June 2, 2009 - 1:12 pm
Cheers, Works Like A Beauty
June 8, 2009 - 9:24 am
thanks
June 19, 2009 - 12:20 am
gracias fiera me sirvio mucho ya lo daba por muerto mi maquina virtual
June 27, 2009 - 11:03 am
Thanks dude. It worked………
July 9, 2009 - 3:32 pm
Awesome. You are my hero.
July 22, 2009 - 2:03 pm
Excellent!!!!! It works for us, thankyou very much!
July 28, 2009 - 10:17 am
Thanks it worked great for me
August 3, 2009 - 10:58 am
Thanks. It worked for me aswell!
August 6, 2009 - 2:46 pm
Great, worked perfectly! Cheers!
August 21, 2009 - 12:55 pm
Nice! It worked!
August 27, 2009 - 9:22 am
Just wanted to add my name to the long list of people who solved their problem from this tip. Thanks.
September 2, 2009 - 3:51 pm
thanks… worked for me too. good job.
September 3, 2009 - 10:32 am
Thanks a bunch!!….You saved so much of my time!
September 3, 2009 - 1:18 pm
Thanks!!
September 7, 2009 - 4:54 pm
thanks a lot … it really saved a lot of time .it was great help .
September 21, 2009 - 9:13 am
thanks it worked
October 10, 2009 - 11:55 am
Thanks, great information, solved my issue
October 13, 2009 - 6:55 pm
muy bien, muchas gracias. Thanks.
October 20, 2009 - 6:48 pm
dzieki wszytko dział!
thx everty thing work
October 22, 2009 - 12:08 pm
I’d just like to add my thanks too! I had my heart in my mouth when I thought I’d possible lost yesterdays development work but everything is running again. Thanks!
November 3, 2009 - 6:28 pm
Thanks a lot. It is grate solution.
When i upgrade from VMServer 1.8 to VMWare Server 2.0, I can’t open my os. I am confuse what i can do, after that i try to find the solution. From this site i get solution. Just i delete the two lock the from vm directory as per recommendation. Thanks a lot.
November 7, 2009 - 3:30 am
Excelente!!!
November 13, 2009 - 1:57 pm
I ran into the same problem when I moved from VMWare server to VMWare Workstation. Your solution worked for me too. Thanks for sharing!
December 14, 2009 - 1:47 am
The error occurs most of the times because VMware finds a lock directory in the same directory as the VHD.
)
The simple solution is to remove this directory (you’ll recognize it by the extension ‘.lck’)
The error is most likely caused by a wrong shutdown of VMware (either it crashed, or your PC crashed, or you just broke it. whatever applies
Happy virtualizing~
December 28, 2009 - 8:19 pm
Exactly what I needed. Thanks a ton
December 29, 2009 - 12:46 am
Excellent! That is all i need to know! Worked great.
December 29, 2009 - 4:49 pm
Thanks!
January 5, 2010 - 9:08 pm
Perfect. Thanks for sharing.