Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

The View virtual machine is not accessible and the View Administration console shows the virtual machine status as Already Used (1000590)

Last Updated: 11/1/2023Categories: TroubleshootingTotal Views: 32422Language:
Chinese (Simplified)JapaneseEnglish

12 like this article

Subscribe to get an email
newsletter with new updates

12 people found this helpful Please provide article feedback:

Symptoms

When using VMware View with a pool set to refresh or delete the virtual machines after log off, you experience these symptoms:

VMware View virtual machines are unavailable.

The View Administrator console shows the status of virtual machine as:

Already Used or Agent Disabled

Cause

If a desktop that is set to refresh or delete after logging off is reset, the desktop goes into the Already Used state, or possibly the Agent Disabled state.

This security feature prevents any previous session data from being available during the next log-in but leaves the data intact to enable administrators to access the desktop and retrieve lost data or investigate the root cause of the reset.
Administrators can then refresh or delete the desktop.

The View desktop can also go into the Already Used state if:

a virtual machine is powered up on another ESX host in the cluster in response to an HA event

If it was shut down without reporting to the broker that the user had logged out.

Resolution

To resolve this issue, perform a refresh of the desktop using the View Administration console. For more information, see the VMware Horizon View Administration guide relevant to your version.

Alternatively, you can add a View LDAP attribute, pae-DirtyVMPolicy under OU=Server Groups, DC=vdi, DC=vmware, DC=int, and set the values below for the attribute.

The pae-DirtyVMPolicy values provide these options for the Refresh on logoff policy:

pae-DirtyVMPolicy=0: Mark virtual machines that were not cleanly logged off as Already used and block user access to them. This is the default behavior in View 4.6 and later releases.

pae-DirtyVMPolicy=1: Allow virtual machines that were not cleanly logged off to become available without being refreshed. View Client users can access these desktops.

pae-DirtyVMPolicy=2: Automatically refresh virtual machines that were not cleanly logged off. View Client users can access these desktops after the refresh operation is completed.

Notes:

When the Suspend power policy is set for a desktop pool, View sends multiple Suspend operations to the same virtual machines, causing vCenter Server to log multiple error messages.

For detailed instructions on using ADSI Edit to connect to the View ADAM database, see Connecting to the View ADAM Database (2012377).

Ensure to take a backup of the ADAM database before proceeding. For more information, see Performing an end-to-end backup and restore for VMware View Manager (1008046).

To change the value of the pae-DirtyVmPolicy attribute using the ADSI Edit utility:

Start the ADSI Edit utility on your View Connection Server host. For example, navigate to Start > Programs > ADAM > ADAM ADSI Edit.

Select or type a Distinguished Name or connect to DC=vdi, DC=vmware, DC=int.

Select or type a domain or server to localhost:389.

Locate the OU=Server Groups for editing.

Under the Server Groups OU, double-click CN=pool_name. This opens the properties of the CN.

Click the pae-DirtyVmPolicy attribute and click Edit.

Set the pae-DirtyVmPolicy attribute to the selected mechanism described above.

Note: You must type an integer between 0 and 2

Note: When you are manually updating the ADAM database, the pae-DirtyVmPolicy attribute may not be visible if the properties filter is set to hide attributes without value. To find the attribute, change the filter to show all attributes irrespective of whether they have a value or not.

To ensure that only a single Suspend operation is sent, you must configure a multivalued attribute in View LDAP:

Start the ADSI Edit utility on any View Connection Server instance in a replicated group. For more information, see Connecting to the View ADAM Database (2012377).

In the Connection Settings dialog box, select or connect to DC=vdi,DC=vmware,DC=int.

In the Computer pane, select or type localhost:389 or the fully qualified domain name (FQDN) of the View Connection Server computer followed by port 389.

On the object CN=Common, OU=Global, OU=Properties, select or create the pae-NameValuePair attribute.

Add these values to the pae-NameValuePair attribute:

cs-suspendpolltimeout=90000

and

cs-suspendpolltime=1000

Note: These values are in milliseconds.

Related Information

Performing an end-to-end backup and restore for VMware View Manager
Connecting to the View ADAM Database
[仮想マシンの表示] にアクセスすることができず、View Administrator コンソールに仮想マシンのステータスが「使用中」と表示される
View 虚拟机不可访问，View Administration 控制台显示虚拟机状态为“已用”

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Horizon View

VMware Horizon

Related Versions:

VMware Horizon 8

VMware Horizon 7

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant