Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

DirectoryExistsInGuest does not work as expected when using a non-Administrator account

$
0
0

Hi.

 

Guest Virtual Machine:

VMware ESXi v4.1.0.348481

Windows Server 2008 R2 Enterprise x64

VMware Tools v8.3.7.341836

 

Host Physical Machine:

VIX API 1.11.0.18997

Windows 7 Ultimate x64 SP1

 

Steps to reproduce:

1. On guest machine:

     a. Join domain

     b. Log in as domain user

2. On host machine using VIX API:

     a. Connect

     b. WaitForToolsInGuest

     c. LoginInGuest using domain username and password and VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT

     d. DirectoryExistsInGuest(@"c:\tools")

 

DirectoryExistsInGuest returns true even though the directory does not exist.

 

I expected DirectoryExistsInGuest to return false or return an error if it could not determine if the directory exists in the guest or not.

 

This also happens when using VIX API 1.10.2.15207.

 

Any ideas?

 

Thank you.


Viewing all articles
Browse latest Browse all 34639

Trending Articles