VMDK-Orphane files

I found this good scenario of Orphane files. The report comes out with drive sizes, but it seems to be in bits. How to report the size in GB? I remember seeing a statement who did the calculation, but can not remember

Here is the script

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

#Use suite script to find orphaned files in your vmware env...

#
# Purpose: List all orphans vmdk on all data stores in the VC
# Version: 1.1
# Author: PRWTOVRO'HJA van Bokhoven
# Changes: LucD

$arrayVC = @("MYVC")
$report = @)

foreach ($strVC to $arrayVC)
{
SE connect-VIServer $strVC
$arrUsedDisks = get-View - ViewType VirtualMachine. % {$_. Page layout} | % {$_. Disc} | % {$_. DiskFile}
$arrDS = get-Datastore. Sort-Object-property name
foreach ($strDatastore to $arrDS)
{
Write-Host $strDatastore.Name
$ds = get-Datastore-name $strDatastore.Name | % {Get-view $_.} ID}
$fileQueryFlags = new-Object VMware.Vim.FileQueryFlags
$fileQueryFlags.FileSize = $true
$fileQueryFlags.FileType = $true
$fileQueryFlags.Modification = $true
$searchSpec = new-Object VMware.Vim.HostDatastoreBrowserSearchSpec
$searchSpec.details = $fileQueryFlags
$searchSpec.matchPattern = '*.vmdk.
$searchSpec.sortFoldersFirst = $true
$dsBrowser = get-view $ds.browser
$rootPath = ' [' + $ds.summary.Name + "]".

#Workaround for vSphere 4 fileOwner bug
If {($dsBrowser.Client.Version-eq «Vim4»)}
$searchSpec = [VMware.Vim.VIConvert]: ToVim4 ($searchSpec)
$searchSpec.details.fileOwnerSpecified = $true
$dsBrowserMoRef = [VMware.Vim.VIConvert]: ToVim4($dsBrowser.MoRef);
$searchTaskMoRef = $dsBrowser.Client.VimService.SearchDatastoreSubFolders_Task ($dsBrowserMoRef, $rootPath, $searchSpec)
$searchResult = [VMware.Vim.VIConvert]: ToVim ($dsBrowser.WaitForTask([VMware.Vim.VIConvert]::ToVim($searchTaskMoRef)))))
} else {}
$searchResult = $dsBrowser.SearchDatastoreSubFolders ($rootPath, $searchSpec)
}

foreach ($folder in $searchResult)
{
foreach ($fileResult in $folder. File)
{
If ($fileResult.Path)
{
If (-not ($arrUsedDisks - contains ($folder.) FolderPath + $fileResult.Path))) {}
$row = "" | Select the path, file size, ModDate, DS, host
$row. DS = $strDatastore.Name
$row. Path = $folder. FolderPath
$row. File = $fileResult.Path
$row. Size = $fileResult.FileSize
$row. ModDate = $fileResult.Modification
$row. Host = (Get-view $ds. Host [0]. Key). Name
$report += $row
}
}
}
}
}
# Disconnect the session of VC
disconnect-viserver-confirm: $false
}

$report | Export-Csv "C:\VMDK-orphaned_west.csv" - noTypeInformation

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

Thank you

Everett

Hello, eaalvare-

This value is in bytes, you can simply divide by "1 GB" to convert to GB.  The original line

$row.Size = $fileResult.FileSize  ## the value in bytes

becomes

## give the value in GB, rounded to one (1) decimal point$row.Size =[Math]::Round(($fileResult.FileSize / 1GB), 1)

I added the [Math]: Round() call it round to one decimal place.  Enjoy

Tags: VMware

Similar Questions

  • Files and orphaned files

    Hello

    Referring to of LucD 'orphan files and folders - Spring cleaning. "

    http://www.lucd.info/2011/04/25/orphaned-files-and-folders-spring-cleaning/

    Is it possible to also declare the size of the ophaned inside a folder an orphan data, I would like to get the "size" total data in an orphan file, only the "unfunded size' (length) if possible? If the total size of the data in a folder an orphan makes more difficult a list of each file/size would also work well.

    I would use it purely for reporting for other people to action if the option delete is not necessary.

    Thank you very much

    Martin

    If you only want the total size of the files in the folders that can be made.

    Try this

    function Remove-OrphanedData {
    <#
    .SYNOPSIS   Remove orphaned folders and VMDK files.DESCRIPTION   The function searches orphaned folders and VMDK files   on one or more datastores and reports its findings.
       Optionally the function removes  the orphaned folders   and VMDK files.NOTES   Author:  Luc Dekens.PARAMETER Datastore   One or more datastores.
       The default is to investigate all shared VMFS datastores.PARAMETER Delete   A switch that indicates if you want to remove the folders   and VMDK files.EXAMPLE   PS> Remove-OrphanedData.EXAMPLE  PS> Get-Datastore ds* | Remove-OrphanedData.EXAMPLE  PS> Remove-OrphanedData -Datastore $ds -Delete#>
    
      [CmdletBinding()]
      param(
        [parameter(ValueFromPipeline=$true)]
        [PSObject[]]$Datastore,    [switch]$Delete  )
    
      begin{
        $fldList = @{}
        $hdList = @{}
    
        $fileMgr = Get-View FileManager  }
    
      process{
        if(!$Datastore){
          $Datastore = Get-Datastore    }
        foreach($ds in $Datastore){
          if($ds.GetType().Name -eq "String"){
            $ds = Get-Datastore -Name $ds      }
          if($ds.Type -eq "VMFS" -and $ds.ExtensionData.Summary.MultipleHostAccess){
            Get-VM -Datastore $ds | %{
              $_.Extensiondata.LayoutEx.File | where{"diskDescriptor","diskExtent" -contains $_.Type} | %{
                $fldList[$_.Name.Split('/')[0]] = $_.Name            $hdList[$_.Name] = $_.Name          }
            }
            Get-Template | where {$_.DatastoreIdList -contains $ds.Id} | %{
              $_.Extensiondata.LayoutEx.File | where{"diskDescriptor","diskExtent" -contains $_.Type} | %{
                $fldList[$_.Name.Split('/')[0]] = $_.Name            $hdList[$_.Name] = $_.Name          }
            }
    
            $dc = $ds.Datacenter.Extensiondata
            $flags = New-Object VMware.Vim.FileQueryFlags        $flags.FileSize = $true        $flags.FileType = $true
            $disk = New-Object VMware.Vim.VmDiskFileQuery        $disk.details = New-Object VMware.Vim.VmDiskFileQueryFlags        $disk.details.capacityKb = $true        $disk.details.diskExtents = $true        $disk.details.diskType = $true        $disk.details.thin = $true
            $searchSpec = New-Object VMware.Vim.HostDatastoreBrowserSearchSpec        $searchSpec.details = $flags        $searchSpec.Query += $disk        $searchSpec.sortFoldersFirst = $true
            $dsBrowser = Get-View $ds.ExtensionData.browser        $rootPath = "[" + $ds.Name + "]"        $searchResult = $dsBrowser.SearchDatastoreSubFolders($rootPath, $searchSpec)
            foreach($folder in $searchResult){
              if($fldList.ContainsKey($folder.FolderPath.TrimEnd('/'))){
                foreach ($file in $folder.File){
                  if(!$hdList.ContainsKey($folder.FolderPath + $file.Path)){
                    New-Object PSObject -Property @{
                      Folder = $folder.FolderPath                  Name = $file.Path                  Size = $file.FileSize                  CapacityKB = $file.CapacityKb                  Thin = $file.Thin                  Extents = [string]::Join(',',($file.DiskExtents | %{$_}))
                    }
                    if($Delete){
                      $dsBrowser.DeleteFile($folder.FolderPath + $file.Path)
                    }
                  }
                }
              }
              elseif($folder.File | where {"cos.vmdk","esxconsole.vmdk" -notcontains $_.Path}){
                New-Object PSObject -Property @{
                  Folder = $folder.FolderPath              Name = $null              Size = &{
                    $dsName,$folderName = $Folder.FolderPath.Split(']')
                    $dsName = $dsName.Trim('[ ')
                    $folderName = $folderName.Trim(' ')
                    New-PSDrive -Name DSTemp -PSProvider VimDatastore -Root "\" -Datastore (Get-Datastore -Name $dsName) | Out-Null                Push-Location -Path "DSTemp:\$folderName"                Get-ChildItem -Recurse | Measure-Object -Property Length -Sum |                Select -ExpandProperty Sum                Pop-Location                Remove-PSDrive -Name DSTemp -Confirm:$false | Out-Null              }
                  CapacityKB = $null              Thin = $null              Extents = $null            }
                if($Delete){
                  $fileMgr.DeleteDatastoreFile($folder.FolderPath,$dc.MoRef)
                }
              }
            }
          }
        }
      }
    }
    
    Remove-OrphanedData -Datastore MyDS 
    
  • orphaned files in a saved Briefcase

    How can I update the orphaned files in the Briefcase of vista on my laptop hard drive? I need to keep these files because they are all my photos. Am running vista & not tech talk savvy. My drinking drive is a usb kensington with ceedo on it. Thank you

    Hello

    If the files are actually orphans that the only hope to recover would be to make some sort of data recovery using 3 third party software.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    There is a Microsoft article that treats the orphaned files and that you can do to attempt to recover: http://technet.microsoft.com/en-us/library/bb457122.aspx

    I suggest you consult a service of recovery of the aid.

  • When I schedule a check disk finds it always 7 orphaned files but it can never their difficulty, it said 0 unindexed files recovered.

    When I schedule a check disk finds it always 7 orphaned files but it can never their difficulty, it said 0 unindexed files recovered. shoud I'm worried about this? Thank you

    Hello

     
    If your computer works well and has all the problems so worry not attached files that pointed the disk check
  • Customize report orphaned files?

    DW CS6 using (Windows 7 if that makes a difference) if we can customize a report of broken file link/orphan somehow? I searched around for this for a while and haven't found anything, so I guess not, but...

    The problem:

    We use Adobe Contribute with activated restorations so it will create strings of files which contain "_bak" when a page is posted on our development server. When you generate a report looking for orphaned files, I have to weed by the thousands (approximately 10,000 rows in an Excel file) of these false orphans ending up with a list of real orphans. Is there a way to search the site and ignore all files/folders with _bak in the chain?

    Thank you!

    Excel is a much more powerful than DW program, it can be managed to purge the premises.

    For example, a custom filter to see ONLY the rows containing BAK.

    Select and then delete the visible lines.

  • HOWTO delete a VMDK to a virtual machine without actually deleting the vmdk disk file?

    How to remove a file VMDK to a virtual machine without actually deleting the vmdk disk file?

    Details:

    My perl script, I need to temporarily remove a vmdk to a virtual machine file. However I do not want the vmdk file should be removed from the virtual machine. For example, the gui vsphere provides this option to delete a virtual disk without deleting the virtual disk from the disk files.

    In my script, I use the ReconfigVM_Task to do this. This does the job, but also removes the vmdk file. How can ensure me that the vmdk file will not delete the disk?

    The code snippet is something are:

    My $devspec = VirtualDeviceConfigSpec-> new)

    device = > $device,

    #device to delete above:

    operation = > VirtualDeviceConfigSpecOperation-> new ('remove'));

    Push (@$ devspec_list, $devspec);

    My $config_spec = VirtualMachineConfigSpec-> new)

    deviceChange = > $devspec_list

    );

    my $task = $template_view-> ReconfigVM_Task (spec = > $config_spec);

    would really appreciate your help

    s

    Take a look at this script: vmdkManagement.pl

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

    William Lam

    VMware vExpert 2009

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

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

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

    VMware developer community

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

  • Cannot remove orphaned files

    If you know how this works and it should be simple. I ran check all links to the site. I pointed out the orphaned files on the Link Checker tab. There are many of them - plus 6 000. I want to delete these files. I select them all and press the button Delete, nothing happens. I select a bit and try the same thing. I try with both buttons remove and cmd-delete (which works in the Mac Finder). I even try to check to see if there is a delete option under the right button of the mouse.  Still nothing. (unless somehow, these files are deleted invisible but always appear on the list?) Shouldn't the name of the file disappear from the list when they are deleted?) I checked my keyboard and the delete button works.  Any ideas what is happening? Any other method can I use to remove these files?

    I suggest you re-create your cache.

    You will find in the menus at the top.

    Site > advanced > recreate Site Cache

  • DW * query - remove orphaned files

    Is it possible to get DW8 to search for orphaned files in a site (IE, PDF files and image files that are no longer tied to any of the pages)? I have a couple of big files on a site that I inherited, and I want to make some fairly significant storage upward.

    TIA

    at the level of the site link check under the Site menu.

    Difficulty of broken links, and then change the drop-down menu in the results for "orphaned files" window

    Note-dw only checks the links for the types it understands. links established with js or
    SWF or other methods will show as orphan files even if it is in service.

  • ORPHANED FILES

    I'm working on my Web design. My pages show no broken links, but I have several orphaned files. I'm assuming that these are the (html) files that were created in other applications, such as ImageReady with Fireworks. I created a html, and think that it used in my Dreamweaver file. These orphaned files will create a problem later, when I publish? One of the files is a series of photos that fade was created with ImageReady. All of the suggestions.

    I know, some of you say, that you should not attempt these things without more knowledge. Sorry...

    Orphaned files are files that have no connection to them to your main pages.
    It's not bad, but you should be aware. It is sometimes done on
    end if you want to create a temporary page to show someone something but
    you don't want to link to your site on a regular basis. Or, it's an image that you
    decided not to use if you deleted a page and it is still on your
    site. Or it's something put you on your site for a person to download but
    you have not put a link to it, just mail to your customer.

    They can also happen in active pages where a script creates a link to a page
    but it is not necessarily appear as readable html so the file will appear in the form
    an orphan. You have to be very aware of these situations because without
    the orphan of the action or the link does not work.

    A lot of reasons they occur. They are usually created by you intentionally
    or inadvertently. The only problem, they'll normally fills
    disk space.

    Most programs that create temporary files will clean them up when they are correctly
    closed. So if you crashed outside your program, you can see some of
    These.

    If you see a file you created intentionally appearing as a
    orphaned, then you simply put a link to it on your site and it will be
    is no longer listed as an orphan.

  • Instant orphaned files - need to recover data on the basic disk

    Hello

    I'm sure this has been asked several times before, but how merge content from an instant orphan to the basic disk?

    Reading over there seem to be several different methods to do so.

    I have a virtual machine with three RDM, the virtual machine is running at the wide base VMDK disks but there is a single snapshot file associated with each base VMDK, snapshots do not appear in the Snapshot Manager.

    I tried to change the snapshot. The VMDK files and change the parent CIDs for the basic disk, but still not instant show in the Snapshot Manager.

    Is the best way to stop the virtual machine, remove the inventory and then add it to the inventory, I don't see the shots if the parent CID is correct?

    What is a better method?

    2. turn off then turn off the virtual machine (if it is not already off). Stop the current virtual machine with any Active snapshots.

    3. once the virtual machine is completely turned off, create a unique snapshot of the virtual machine and do not feed upward after this step.

    4 browse your data store for the virtual machine and look for the numbers you hard files. Instant latest should only be a few megabytes, and you want one that is just before that.

    5. go to the command line console and edit the .vmx for your virtual machine in the container for data store. Looking for a similar article to the following for each of your virtual disks.

    scsi0:0.present = "true"
    scsi0:0.fileName = "???-00002.vmdk"
    scsi0:0.deviceType = "scsi-hardDisk"

    You want to change the "scsi0:0.fileName =" section under the same file name that you found in step 4. You will need to repeat this in the file for each virtual disk on your VM.
    Save the .vmx file, overwriting the original.

    6. now, it will be a long process, if the hard files are large (more than 20 concerts) and can last several hours. During this process, you may lose connectivity to your ESX Server on the client of the infrastructure. What you need to do is run the below command from within the container to store the virtual machine data.

    vmware-cmd <your .vmx file> removesnapshots

    7. once the previous step is complete, check your VM settings in client infrastructure and check that your virtual disks are now pointing to the original hard file (does not contain de-00001 etc.). If everything was successful, you should be able to power to the top of your VM.

    8. once the virtual machine is running and check the operation, you can remove the last numbered - 0000x.vmdk that was created from your snapshot in the third stage (should only be a few megabytes). This file must have been ignored by the instant withdrawal because you have changed the .vmx file.

    Question I have is if the basic disk has been changed today I lose all changes today when merging the snapshots (which have not been written to since 18:00 yesterday)- or will be the basic disk back to 18:00 yesterday and lose all changes today?

    If you need to extract data from instant orphans, you know that you can NOT do without altering the current state
    new files from today will still be there - but they are not referenced in the MFT and other pieces are replaced by old data of the orphan snapshot
    If you must do this with a backup...

    or - possibly use a snashot of the RDM, as it is now...

    in any case – which gives good advice is almost impossible without sitting in front of the case

  • Recover a VMDK Snapshoted file

    I have a very big problem and I don't know how to deal with and that's it:

    VM working, I have just two files and the others have disappeared:

    SPSDEV01.VMDK

    SPSDEV01 - 000001.vmdk

    And the problem is obvious: when I create a new virtual machine and represent a like a hard drive, it does not contain my returned files

    If represent the other he says that there is no such thing as parent file

    So, what should I do?

    I'm really in a very bad situation.

    Is it possible to combine or merge these files or extract files from them?

    You said the "SPSDEV01.vmdk" appears in the .vmx file, but in the file attached, it is "SPSDEV01 - 000001.vmdk '!

    In any case, here are the steps that I would recommend to create a new virtual disk, so that the current files will not get affected.

    • the virtual machine power off
    • Edit 'SPSDEV01 - 000001.vmdk' and set the value of 'parentCID' to the base value of the disk (SPSDEV01.vmdk) "CID" to repair the chain instant
    • Create a new subdirectory in the folder of the virtual machine named for example "Clone".
    • from the command line in the folder of the virtual machine, run:
      vmkfstools-i SPSDEV01 - 000001.vmdk Clone\SPSDEV01.vmdk
      to clone the virtual drive - including his snapshot - in a new virtual disk.

    Create a new virtual machine and once done, move the virtual disk cloned to the new virtual computers folder, and then open the virtual machine settings and replace the virtual disk with the cloned. Now try to turn on the virtual machine.

    Before using the production server, I would recommend that you run chkdsk for all readers to solve any problems with the file system.

    André

  • Change migrated VM, vmdk disk file name / reference data store

    Hi all

    I'm trying to migrate a large number of virtual machines between physical datacenters (using SAN as the migration of mirroring method).

    The problem I encountered is that the operating system and data vmdk is localized on different data for each virtual computer warehouses. When break us the mirror and enter the VMX to the new location, the VMX file is a reference to the old path to the VMDK files (ie: the old data store in the center of source data). Only the VMDK files located in the same folder as the VMX file appear correctly in the vSphere - other client appears with the size of '0 GB' - as vSphere can't find referenced vmdk files.

    I don't want to update the VMX files manually, of course that's why I'm here. :-) But I struggled to find a way to update the hard drive using PowerCLI vmdk file name.

    I have to resort to pure PowerShell and update the file vmx in this way?

    I read all the blogs on the updating of the vmx files - but they have all shown to day extension data "extraconfig". for example:

    http://blogs.VMware.com/vipowershell/2008/09/changing-VMX-fi.html

    This extraconfig does not include the lines in the VMX file that specify the vmdk file name. for example:

    scsi0:1.filename = ' / vmfs/volumes/abcdefgh-503544b2-e46c-d41234567890/myVmName/myVmName_1.vmdk '.

    Ideally, I would have liked to use the command set-hard drive - unfortunately this is actually trying to move the non-existent vmdk to the new data store that I specify - rather than just update the baseline data store.

    I hope someone here can tell me an effective solution - without having to read in the vmx files and edit them using PowerShell.

    Oh, and I wrote a script to print the list of VMDK files attached to each virtual machine (in the datacenter from source before you remove migrated VMs)- so I have my CSV entry ready for use with a viable solution.

    Any help much appreciated!

    Thank you

    FaTony

    If you have the list with the VMDK from the source, and you know how to translate those paths to the new location, you should be able to use the Remove-hard drive and the hard drive New cmdlets.

    Have you tried that?

  • The vmdk Preallocated file defragmentation

    I created a virtual machine with a file preallouee vmdk (Type = available thick disk lazy set to zero). Now, update is it possible or not. If Yes, then share the command for ESXi 5.0 U1.

    Virtual disk Development Kit 5.1

    Published on 10 September 2012 |  Download the SDK 5.1

    http://www.VMware.com/support/developer/VDDK/

    See these links below;

    http://pubs.VMware.com/vSphere-50/topic/com.VMware.SDK.doc_50/GUID-E2E3BB5D-EE57-4DC5-A5F0-C990A05C6F6C.html

    The virtual disk (VDDK) SDK is a collection of libraries C, code samples, utilities, and documentation to help you create or access VMware virtual disk storage.

    The kit includes:

    -Virtual libraries and drive installed, a set of function C calls to manipulate the virtual disk files.
    -Examples of C++ code that you can build with Visual Studio or the GNU C compiler.
    -Disk utility Mount to access the files and file systems in the virtual disks on the Windows or Linux guest virtual machines offline.
    -Documentation on the VDDK libraries and command-line utilities.
    -Virtual Disk Manager utility for manipulating virtual disks offline under Windows or Linux (, clone, move, rename, grow, shrink or defragment).

    See Page 11;

    http://www.VMware.com/PDF/VirtualDiskManager.PDF

  • Unable to shrink the VMDK disk file

    I have a Winxp virtual machine, and it was created with a 40 GB SCSI disk, VMWare has recommended.  I used to transfer all kinds of data to and from it, and I noticed that kept virtual disk file becomes larger.

    The Windows file as well as all my personal files are total about 4.7 GB.  But the VMDK file is not less 21,7 GB...

    After that it shrinks normally did not work, I started the machine virtual in Parted Magic and effectively narrowed the entire NTFS partition up to 5 GB - the other 35 showing as empty space.  But still, I tried shrinking and he defragmentation on 7 times, he didn't budge 21,7 GB.  I even tried to make the option "Get ready to shrink" inside Windows itself, using VMWare Tools, which also did nothing...

    I tried in fact to create a new virtual machine identical with a 5 GB drive, then copy the partition through (I had copied on a flashdrive using CloneZilla) - but for some reason, XP does not start if I do that.  Even to make all stages of repair does not fix.

    So could someone please understand why this file on the disc is so obnoxiously huge for a 4.7 GB VM and how can I reduce the VMDK?  I really need keep the hard drive space and it seems really stupid...

    the other 35 showing as space vacuum

    That's the problem. The process of narrowing in VMware Workstation focuses first on the unused space on the partitions, and then shrink the VMDK file. The free space on the disc does contain not more than one partition, it will not be zero. To resolve this problem, you can temporarily create an additional NTFS partition on unused disk space.

    André

  • Orphaned files of vocation.  How to?

    We have a VM Linux who, for various reasons, have multiple iSCSI disks added and removed as a raw device mapped drives.  I now have a bunch of files * rdmp.vmdk which is no longer exist, but have problems with vMotion because of them.  Can I just delete the file?  I need to change a configuration file or a guest first stop?

    Thank you

    Anand

    These files are simple "proxy" for the RDM disks.

    You can delete them without problem (if no VM is their use).

    André

Maybe you are looking for

  • iPad Air, save the photos by e-mail

    iPad 2 Air, how do I save photos by e-mail?

  • New drive HARD and OS upgrade on Equium A210

    I want to install a new SATA hard drive more and also upgrade from Vista to Windows 7 is only a problem at all and that I can use a normal Windows 7 disc.

  • Base for OfficeJet 6830 and 6700 driver

    I have a new printer Officejet 6830 I need diver Win7 database for. I don't want the driver for 42 Mo 'basic' which is available on the Web site. I would just like to add a local printer... Standard IP port... have disk... and be able to use the driv

  • How to locate the index z (physical) encoder

    Hello I'm trying to locate the Z Index of a rotary encoder. I need the counter to zero at each time 0 reached the encoder shaft this same point. My problem is that when I run the VI, the angular position starts at 0, no matter where the tree, and thi

  • LabVIEW Crash after graphical mapping and line_style field have been changed

    Hello everyone, I had a very specific problem that occurred to me mainly by 'chance '. But the error is reproducible every time I tried it. I'm under LabVIEW 2012 (German) on a Lenovo PC with Windows 7. The VI that generates the error adapts the appe