Renowned guest VM in unregistered VC, the directory/files on LUNS not eponymous.  Impossible to find.

Hi all

I'm trying to find a guest I was trying to move to our new VC and 3.5 environment.  I have unregistered the old VC and went to re-register is another from the LUN, but it seems that the files were named something completely different.  Is there anyway to search for an IP address or something like that to find which machine it is?

Thank you.

You can actually search all files .vmx under a certain VMFS volume or all to search for your VM specific and as noted, if you have something specific like VM name, MAC, etc., you will be able to search for the string with the .vmx file.

Here are two examples:

(1) you know the MAC

[root@everest ~]# for VM in $(find /vmfs/volumes/everest-local-storage/ -iname *.vmx); do grep -i "00:50:56:99:52:7b" "${VM}"; if [ $? -eq 0 ]; then echo "${VM}";fi; done

ethernet2.generatedAddress = "00:50:56:99:52:7b"
/vmfs/volumes/everest-local-storage/thegeneral/thegeneral.vmx

(2) you know the VM name

[root@everest ~]# for VM in $(find /vmfs/volumes/ -iname *.vmx); do grep -i "thegeneral" "${VM}"; if [ $? -eq 0 ]; then echo "${VM}";fi; done

nvram = "thegeneral.nvram"
displayName = "thegeneral"
extendedConfigFile = "thegeneral.vmxf"
scsi0:0.fileName = "thegeneral.vmdk"
/vmfs/volumes/49a096cf-9f0ae95f-f80a-001f29c7b048/thegeneral/thegeneral.vmx

Do not forget to provide the VMFS volume in the param to find or update the name of your virtual machine or whatever it is that is stored in the .vmx that you can key off of specifically.

=========================================================================

William Lam

VMware vExpert 2009

Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

repository scripts vGhetto

VMware Code Central - Scripts/code samples for developers and administrators

http://Twitter.com/lamw

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • We have upgraded to Microsoft Office 2007. How to save a file in Excel 2007 so when it is opened, it suggests to be opened as a read only file? I looked in the help files and have not been able to find.

    Excel 2007 running on XP

    Hello Barb,

    Thank you for visiting the Microsoft answers community, however, your question may be better served in the Group of Discussion of Excel. I hope this helps!

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to fix what is happening when you install programs: unable to excute the directory file, temporary error5.acces is denied

    name of the error:cannot excute the directory file, temporary error5.acces is denied
    Thi occurs during the installation of programs

    The program is not compatible, or you install so that it's connected to a no account admin, or you've been fiddling with permissions, or you have installed a third-party maintenance utility that has compromised your sys

  • I can't import photos into lightroom free trial cc/6 2015. Lightroom can see all my pictures from my SDHC card and allows me to implement the import, and then clicking import it says that all the selected files (245) has not can be imported as they could

    I can't import photos into lightroom free trial cc/6 2015. Lightroom can see all my pictures from my SDHC card and allows me to select and configure the import, and then clicking import it says that all the selected files (245) has not can be imported because they could not be read. I use MacBook Pro 2015 OS X Yosemite 10.10.3, photos taken with Canon G1 X Mark II. Any ideas?

    This message indicates that you have not permission in writing to the destination directory.

    So:

    1. Determine the destination directory... go in the Lightroom import dialog box and note the location of this directory specified on the right side under "Destination".
    2. Go to your operating system and change the permissions on this exact directory have WRITE permission.
  • By mistake I deleted an email that I had saved in the project file. Can I recover it or find it?

    Original title: recovery by mistake deleted messages project

    By mistake I deleted an email that I had saved in the project file. Can I recover it or find it?

    Hi Robert,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it. I would really appreciate if you could answer the following questions:

    1. what operating system is installed on your computer?

    Operating system Windows am I running?

    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

    2. which web e-mail or mail client you are referring to? What is Microsoft Outlook or Hotmail?

    3. who is the provider of mail service?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If you are referring to Outlook, then you can email deleted restore deleted folder by following the steps in the link below:

    He must restore e-mails deleted in Outlook.com.

    http://Windows.Microsoft.com/en-us/Windows/Outlook/recover-deleted-messages

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Try to open the .pub file - get error not valid Win 32 application

    Try to open the .pub file - get error, not a valid Win 32 application

    Help, please

    Thanks for your suggestions.  I have both Publisher and InDesign.  I was able to open this type in the past using Publisher. ???

    Hey bets4jandj

    It helps when you provide in your first post information about what programs you have pertaining to your problem

    Make sure that they have all of the defaults and set file associations correctly

    read the information below about

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    Walter, the time zone traveller

  • Cannot delete a file in windows 7. Indicates the specified file name is not valid or too long.

    Hello everyone, I'm pretty stuck here. I can't delete a file in windows 7 or any other do with it besides. Says "the specified file name is not valid or too long. It has a funny name [~ t] and no extension. The file type, say "file". The properties are all screwed looking with a mistake on the Security tab, a size of 0 k, is a Windows (c) \Windows\en-US.The other files in this folder appear normal. The computer seems to work very well without any obvious problems. The only problem is my anti-virus reports with a kind of syntax for the file error and indicates it cannot parse this file. I do not. I can't do a thing with it either. Cannot open, rename, move, delete, change passwords, properties, permissions, nothing. It may be necessary for a good part with 0kb. According to me, I want to just delete the thing. Please, anyone? Thanks in advance.

    Hey bud, I figured out how fix it earlier. I am so happy. I came to remember a command called chkdsk which worked very well for various issues, that I had since the construction of my old 2000 Professional machine. I think that one was my first NTFS system. I always liked how well he error correction. Seemed a lot better than the old scandisk. Low and behold, I tried and star ANISE, it is went through it, found this file almost from the beginning of the analysis and a few lines later, he said has been removed. Says something about the file being orphaned some time ago. It was a very bad child, that I tell you. I ran it in safe mode command prompt. I guess he would have done the same thing in the normal windows well, but I happened to be in safemode, when it came to me. I used the switch /f with her. Since the C:\ command prompt or any drive letter your operating system is selected, type CHKDSK/F if I remember although the f was to have it automatically CORRECT errors. I hope this info helps others with their file or disk problems. It seems that many people say they get mistakes and cannot delete various files here in these forums. Thanks Sandeep for answering me and try to help. It does not matter whether or not it was the fix, it takes time to post and your helping people learn to be it. The only thing that remains unanswered for me is actually the thing of the answer. I mean I can't say someone at - it really answered my question and do not count me? Maybe I should mark so that people will bother to read it and get the fix. HMMMM... I come back here some time later and see whats up.  SeeYou, EWOO

  • How to find the library files that are not due to problems of indexing

    I need help to know how to find the library files that are not as a result of indexing problems?

    I use Windows 7

    Thank you

    Charlene

    Try to open the folder that the library uses directly.  For example, if it is your Documents folder, open C:\Users\Charlene\Documents

  • How to import the mp4 files, it does not work on my mac

    How to import the mp4 files, it does not work on my mac

    If you try to import a video to use as a guide in your timeline, the video must be H.264 with AAC audio. You cannot use the other MP4 videos with other codecs (such as the MPEG-4 video codec).

  • IAM cannot open PNG file in adobe PS CC 2014 and when I try to open the PNG file, message: could not complete your request because it is not just some kind of document

    IAM cannot open PNG file in adobe PS CC 2014 and when I try to open the PNG file, message: could not complete your request because it is not just some kind of document

    try to make a copy of the file and change the suffix for .jpg and see if it opens then.

  • When I import my .wav and my .m2V files still accepts the .wav file but does not load the .m2V file.  I created movie DVD 5 discs - still accepted the .wav and for the four remaining groups .m2V files and created 4 DVD discs for

    When I import my .wav and my .m2V files still accepts the .wav file but does not load the .m2V file. I created movie DVD 5 discs - still accepted the .wav and for the four remaining groups .m2V files and created 4 DVD discs for these files. What can I do to be free from this error?

    OSstatus = error-37

    Note that this a Mac operating system error.

    http://forums.CreativeCOW.NET/thread/145/865447

    Error when importing the file: slash or other character in file name

    http://forums.Adobe.com/message/3729601

    The build error: slash or other character in file name

    http://forums.CreativeCOW.NET/thread/145/868994

    The build error: complete startup disk

  • Is it possible to have full control for all users in the directory/files/registry?

    Can I have a lot of control (read, write, change) my specific file / registry for all users, you have any program or script for this reason?

    as 'cacls '. Because I can't use cacls.

    is it wrong?

    C:\>Cacls "program * Files\NETAS" / c/r users: «F»»»

    Displays or modifies access control (ACL) of the files lists

    CACLS filename [/ t] [/ e] [/ c] [/G user: permission] [/R user [...]]
    [/P user: permission [...]] [/D user [...]]
    the ACL file name.
    / T changes ACLs of files specified in
    the current directory and all its subdirectories.
    /E Edit ACL instead of replace it.
    /C continue on access denied errors.
    /G user: permission Grant specified user access rights.
    Perm can be: R read
    W write
    C change (write)
    F full control
    ...

    Perhaps you could elaborate a little bit on "this command is not running"...  What happens when you try?

    I'm not knowledgeable about Windows 7, but Windows XP, I found the registry permissions must be put in a file.  So in your example, you can create a file named "z.txt", and in this file, you put the line:
    [1 5 7 17] \registry\Machine\Software
    Then call you the command line:
    Regini z.txt

    HTH,
    JW

  • Install the .msi file created by ThinApp: still can't find Win32Data.qtr

    I created Workstation on my PC Windows 7 Ultimate 64-bit host, and installed a clean machine of the virtual Windows XP 32 - bit with workstation. I installed Starry CSAP at night on the virtual XP machine, and it works fine. I used Capture of ThinApp configuration to create an image of msi with 1.5 GB of dat file, using Mode of insulation of the write small and ' same directory as the application (drive carrier / portable USB) "for the location of the Sandbox. I copied the result C:\Program VMware ThinApp\Capture\Starry night CSAP (5)------folder on my Windows 7 host computer, installed the VMware of Starry CSAP at night by double clicking on the icon of msi. When I ran the result by double clicking on the icon of the CSAP of starry night over the Windows 7 Desktop, the original error "can't locate the Win32Data.qtr. Pls reinstall"to try to install and run Starry CSAP at night on the PC Windows 7 without VMware, reappears. I also tried the user profile to the location of the sandbox and the isolation of writing full mode, both without success.

    Pourrait an expeienced software designer who had the same problems please share their knowledge in solving this problem?

    Thank you very much

    BenCh1424

    Can you, please, check is file Win32Data.qtr exists on your Windows 7 64 windows b?

    Can you please check the location of the Win32Data.qtr file on your system Windows XP 32 b and on Windows 7 64 b?

    Can you, please, check if file Win32Data.qtr is located in the directory of your app to thinapped project. And if so, I would like to know the location in the project directory.

    If you know the location on your system of 32 b of Windows you can run virtualized cmd.exe (virtualized during the application of the thinapping) and try to look in the virtual file system if the file exist in it.

    I think that your software has problem find the file because of the platform 64 b (Program Files and Program Files (x 86)). But when you thinapp Quick Time with your app, it shouldn't be a problem.

    Please, answer me these questions and we'll see.

  • I click on the .pdf files and do not open or download... anyone have any ideas? MAC 10.6.8 Firefox 12.0

    I went on a site and downloaded a .pdf file. The next day I updated firefox and when I went to the same spot later in the day, I clicked the .pdf and it didn't download or open. I use firefox 12.0 and mac 10.6.8

    I found a recommendation in another thread:

    If you are using a Mac, go to the Firefox Plugins and disable the plugin Adobe Acrobat NPAPI, Version 10.1.3. This is a recent update of the plugin, and as soon as it was installed, I noticed that the PDF files would not download.

    [Location: Menu] Tools/Add-Ons/Plugins

    https://support.Mozilla.org/en-us/questions/775819

  • the capital file el has not completely download

    MY download has been blocked to 1.4 GB but installing OS X app appeared, I clicked and he said this: -.

    now how remove this copy of the application when when you press 'alt' no option does not appear. And my App Store said sorryosx el capital could not be downloaded

    Finder > Applications > install OS X El Capitan.app

    Right-click on the OS X ElCapitan Installer, and then select "move to trash".

    Empty the trash.

    Launch App Store, click on "Purchases" tab and download OS X El Capitan.

Maybe you are looking for

  • Operation of the MacBook Pro keyboard

    My MacBook Pro keyboard does not normally even if the shortcut commands work. Touchpad won't spend the little arrow, although it is in the top RH corner of the screen. How to get back normal please?

  • Always problems of registration of passwords

    I followed the instructions in: http://support.Mozilla.org/en-us/KB/make-Firefox-remember-usernames-and-passwords?s=saving+passwords & r = 5 & e = & did = sBut I still can't the browser to prompt me to save the password. I've deleted and reinstalled

  • Unable to upgrade to Yosemite 10.10.5

    Currently I have OS X 10.9.5 and tried the update to OS X Yosemite 10.10.5 but after starting the upgrade process, I get a warning message: "this update requires OS X version 10.10." I looked to 10.10, but nothing helped. Any suggestion? I don't want

  • How to create a repair disk in Windows XP

    Hello How to create a Windows XP REPAIR disc? I have Windows XP version 5.1, Build 2600. Thank you very much Michael

  • Failed with unknown error 80070490 Windows Update

    Update Windows guard fails with unknown error 80070490 when trying to install to install the important updates made automatically by Windows Update. Having this problem since February 10