Quantcast
Channel: VMware Communities: Message List
Viewing all 246801 articles
Browse latest View live

Re: Windows 10, Persona Folder Redirection - Unavailable

$
0
0

I agree thank you.

 

We have not yet implemented Persona Management either. We have our Horizon in place and I was just working on this... when I had the problem I saw your stuff about UEM.

 

I think I am going to get Persona Management working and then I will use UEM for other settings.

 

I just shake my head... how hard is it to have a single solution that works.

 

I will try and do the registry entries with UEM and see if that works. When I manually added the registry entries to HKEY_CURRENT_USER manually it never fixed the problem. the ONLY way in Windows 10 Enterprise (1607) to get the registry keys to work is to add them to HKEY_USERS into the specific profile folder for the user (this does not work for general deployment).

 

I will test anyways to see if UEM can make it work.


Re: UEM Folder Redirection Not Working

$
0
0

Hello ,

 

for the folders -  Desktop, Documents, Favorites, and Appdata -

You need to add a five REG KEYS in the base image or add with UEM to users.

I add this REG KEY to users with UEM  - I made these changes In one user , I export the reg key and add them to Uem And finally i applied them to all users who work with Windows 10.

 

Go to -

 

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\UserShell Folders


Add this reg keys as "expandable string variable" -

 

Downloads -
{374DE290-123F-4565-9164-39C4925E467B}                         
-   

Desktop -
{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}

Documents -
{F42EE2D3-909F-4907-8871-4C22FC0BF756}

Pictures - {0DDD015D-B06C-45D5-8C4C-F59713854639}

Music -
{A0C69A99-21C8-4671-8703-7934162FCF1D}

Videos -
{35286A68-3C57-41A1-BBB1-0EAE73D76C95}

Downloads-
{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}

 

in the value data insert the path of
your folder redirection and the name of folder example-

\\servername\folderredirecion\%username%\Desktop

 

 

 

 

If you follow the steps correctly you will finally see one folder (not duplicates folder) in "User Files"  that points to yours folder redirect path.

if you do this in your base image after you finish you need to do recompose.

 

This happens because of the tool  that you runs "VMware OS Optimization Tool" on yours Golden Images.

I Open a Case , but unfortunately, although they said that the problem was solve, it did not.

 

https://labs.vmware.com/flings/vmware-os-optimization-tool/bugs/418#bug_comment_1372

 

 

about the uem logs error I think this is something in the permissions of the shared folder - Check the special permissions.

 

 

 

Hope I helped.

vmware agent not installing properly

$
0
0

i am getting message like "insserv: warning: script 'vncserver' missing LSB tags and overrides", when installing VMware Tools.

log message since like a success, but i couldn't get actual feature like copy&paste ,full screen.

 

[04:05:07 balaji@ubuntu~]$ sudo /usr/bin/vmware-config-tools.pl -d

 

 

You have chosen to install VMware Tools on top of an open-vm-tools package.

You will now be given the option to replace some commands provided by

open-vm-tools.  Please note that if you replace any commands at this time and

later remove VMware Tools, it may be necessary to re-install the open-vm-tools.

 

 

Initializing...

 

 

 

 

Making sure services for VMware Tools are stopped.

 

 

 

 

 

 

insserv: warning: script 'vncserver' missing LSB tags and overrides

insserv: warning: script 'vncserver' missing LSB tags and overrides

The module vmci has already been installed on this system by another installer

or package and will not be modified by this installer.

 

 

The module vsock has already been installed on this system by another installer

or package and will not be modified by this installer.

 

 

The module vmxnet3 has already been installed on this system by another

installer or package and will not be modified by this installer.

 

 

The module pvscsi has already been installed on this system by another

installer or package and will not be modified by this installer.

 

 

The module vmmemctl has already been installed on this system by another

installer or package and will not be modified by this installer.

 

 

The VMware Host-Guest Filesystem allows for shared folders between the host OS

and the guest OS in a Fusion or Workstation virtual environment.  Do you wish

to enable this feature? [yes]

 

 

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please

upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

 

 

VMware automatic kernel modules enables automatic building and installation of

VMware kernel modules at boot that are not already present. This feature can

be enabled/disabled by re-running vmware-config-tools.pl.

 

 

Would you like to enable VMware automatic kernel modules?

[yes]

 

 

Thinprint provides driver-free printing. Do you wish to enable this feature?

[yes]

 

 

Creating a new initrd boot image for the kernel.

update-initramfs: Generating /boot/initrd.img-4.10.0-27-generic

The configuration of VMware Tools 10.1.6 build-5214329 for Linux for this

running kernel completed successfully.

 

 

Enjoy,

 

 

--the VMware team

File-based VCSA backup over SCP not working against non-Linux SSH server

$
0
0

I've been attempting to test out the SCP option in the new File-based VCSA backup feature in 6.5 (specifically, I'm testing against 6.5.0e which is the latest as of today). My backup target is currently a Windows box running Bitvise SSH Server using a dedicated local account that is limited to file transfers only (no shell) and a virtual root directory.  The user config looks like this if anyone wants to try and reproduce locally.

 

bitvise-account-details.png

 

I have verified that SCP file transfers to and from my VCSA to this SSH server using the account I configured work just fine. That is, I can SSH to vCenter, drop to the shell, and "scp filename backup@myserver:/" or "scp backup@myserver:/filename ./" and everything transfers successfully.

 

However, when I attempt to configure the backup job from the VCSA web UI, I get the following error.

 

Access to the remote server is denied. Check your credentials and permissions.

 

For reference, here are the values I used in the wizard. I also pre-created an empty "myfolder" in the virtual root.

backup-gui.png

 

When I check the logs on the SSH server, I see that the session was denied because it was attempting to execute a command, "Command execute request rejected." This is exactly what I wanted it to do when I set the "No shell access" option. But why is VCSA trying to open a shell when it's supposed to be using SCP?

 

So let's dig into the log on the VCSA side.  I see this in /var/log/vmware/applmgmt/backupRestoreAPI.log:

 

[MainProcess:PID-2311] ERROR: Failed to validate SSH login at 10.10.10.10:22/myfolder; sshCmd:['sshpass', '-p', '****', 'ssh', '-o', 'ConnectTimeout=10', '-o', 'StrictHostKeyChecking=no', '-p', '22', '-q', '-l', '****', '10.10.10.10', 'exit'], rc: 255, stdOut: , stdErr:

 

That definitely verifies that it was trying to open a shell. But why? Just to validate credentials in the wizard? Why not just SCP a zero byte file or something?  Again, I've already verified that plain old scp works just fine with the current configuration and the GUI and Docs all refer to this option specifically as "SCP" and not "SSH".

 

In any case, now I'm curious what it will take to get it to work. So I modify the settings for the backup user to allow a shell. Bitvise has a few options for shells. But the only one that respects the virtual filesystem root folder is their BvShell option. From their help docs:

 

BvShell is a bash-like shell provided by the SSH Server. This is the only shell type which respects the virtual filesystem layout configured for the client in SSH Server settings. BvShell does not permit execution of arbitrary programs. It is intended to be enabled for clients limited to file transfer access that may wish to use commands (e.g. file copy) that their SFTP or SCP client might not provide. (emphasis mine)

 

Sounds great! The backup user should still be tied to the virtual root folder and limited to commands that are associated with file transfers. I run through the wizard again and make it through to where it seems to be starting the backup job. But it eventually errors out with the message,

 

BackupManager encountered an exception. Please check logs for details.

 

So, back to the logs. backupRestoreAPI.log is no help. It just confirms the job failed. There's now a /var/log/vmware/applmgmt/backup.log though which has more details.

 

[MainProcess:PID-60326] ERROR: Failed to create dir /myfolder/ at 10.10.10.10; sshCmd:['sshpass', '-p', '****', 'ssh', '-o', 'ConnectTimeout=10', '-o', 'StrictHostKeyChecking=no', '-p', '22', '-q', '-l', u'****', u'10.10.10.10', u'mkdir -p /myfolder/'], rc:2, stdOut:, stdErr:mkdir: Unexpected command parameter: -p.

 

So it's trying to create the "myfolder" which I had already pre-created using "mkdir -p" and apparently the mkdir command in BvShell doesn't support the "-p" option. So now we know not only does this "SCP" transfer method require a shell to execute commands. It is also expecting to have access to (presumably) GNU compatible binaries.

 

None of our other shell choices in Bitvise respect the virtual filesystem root. So at this point, we're not going to satisfy the security folks even if we do manage to make this work. But in the interest of science, let's see if we can go further and make it work.  The "Command Prompt" and "Powershell" options are going to be no good without installing Windows ports of those utilities or resorting to Cygwin. "Git access only" won't work either.  But we do have a "bash" option that just needs to be pointed to an executable and this server already has Git for Windows installed which comes with Git Bash that might just do the trick. At the very least, it has a GNU mkdir that supports "-p".

 

So we change the backup user's shell to "bash" and point it to "C:\Program Files\Git\bin\bash.exe". We also change the virtual filesystem layout to "Allow full access" and update the Location we're using in the Backup GUI to "10.10.10.10/c/temp/backup/myfolder".  We make it through the Backup wizard GUI again and the job starts...and then fails with,

 

Error at process ComponentScriptsBackup; rc:1. For details please check the log file: /var/log/vmware/applmgmt/backup.log.

 

*sigh* Back to the log file where we find a lot more going on but there's some sort of error with cat following a tar command?

 

[LotusBackup:PID-6322] INFO: BackupLotus: Dispatching files ['lock.mdb', 'data.mdb']

[LotusBackup:PID-6322] INFO: tarCmd = tar -cz -C /tmp/backup_lotus/ --ignore-failed-read --warning="no-file-ignored" "lock.mdb" "data.mdb"

[ComponentScriptsBackup:PID-6324] ERROR: rc: 1, stderr: cat: '>': No such file or directory

cat: /c/temp/backup/myfolder/imagebuilder.gz.enc: No such file or directory

[ComponentScriptsBackup:PID-6324] ERROR: Component imagebuilder backup dispatch failed.

 

At this point I'm spent and I keep coming back to the same question. Why is this backup option labeled "SCP" if it's not actually going to use SCP???  There's nothing in the documentation that references any requirements for a GNU compatible shell or even a shell at all. The only notes about SCP at all are reminding you to use the absolute path to the folder. Why should SCP work any differently than FTP where it is clearly able to just transfer the backup files???

Re: ESXi 6.5, vmfs 5

$
0
0

yes, I know VMFS 5 and VMFS 6 can coexist

 

but, why VMware decided to use VMFS-5 for the data store on ESXi 6.5 installation disk?

 

Thanks.

Re: What vSphere Essentials 6.5 backup / restore VMs are available?

$
0
0

So where are you building your Server 2012R2? Is it on physical or virtual? Sorry your post is not very clear. How many physical hardware do you have? You can also consider Essentials Plus Kit Term at half the cost of Essentials Plus VMware vSphere Essentials Kits - Official VMware Store

 

What are you trying to achieve? Or what are your requirements that you are trying to meet? Consider all the benefits you will gain from Essentials Plus. Such as ability to live migrate Server 2012 between physical servers, Server 2012 automatically restarting in another physical server in the event the one it was on cashes, backup solution to backup your Server 2012 (what are you using to back up your server now?) and several other feature sets.

 

Here are some of the features that you get with Essentials Plus

 

  • vSphere Hypervisor (ESXi)
  • vCenter Server Essentials
  • vSphere Data Protection
  • vSphere High Availability (HA)
  • vSphere vMotion
  • Cross Switch vMotion
  • vSphere vShield Endpoint
  • vSphere Replication

Re: enabling iSCSI software adapter on Lenovo System x Custom Image for ESXi 6.5a causes problems with persistent scratch location

$
0
0

Hmmm, well it looks like the custom ISO from Lenovo has a preset on the scratch config location. No big deal.

 

In fact, since you have iSCSI. I highly recommend creating a dedicated scratch datastore for scratch/syslog. The advantages are huge and VMware support loves you when you can just grab those logs from the datastore instead of being tied to local host storage.

 

With vSphere 6.5, it is easier then ever to configure the global scratch config. Go to advanced settings on the host, filter by "scratch" . Choose the Syslog.global.logDir and put in the datastore of choice. Any issues, just let me know.

Re: Windows 10, Persona Folder Redirection - Unavailable

$
0
0

I wish you luck, and I understand the challenges all too well.

 

One recommendation, well two actually.

 

1. Checkout GPO Folder redirection. I use it and it works perfectly.

 

2. Don't let Personal management redirect the local/remote appdata folder. The worse problem is broken start menu in Windows 10 but many other issues can occur.

 

3. OK, three recommendations. I have been using Horizon View for over 5 years and free (persona management) never means pain free. I HIGHLY suggest checking out Liquidware.com. They not only avoid all the issues you mentioned but I have windows 10 working....with start menu being saved on logoff.


Re: esxi

$
0
0

I'm not sure on what version you are running but any updates can be managed offline via VUM (vSphereUpdate Manager). You can even go as far as having a proxy that downloads the updates and the ESXi host can pull them on the local LAN versus the internet.

 

I'll link 6.5 documentation (Highly recommend upgrading to 6.5) - Link

Re: Missing 'Use Windows session credentials' checkbox

$
0
0

I agree and would point credit to Richardson's comment.

 

Here is the problem, to do active directory authentication, you need SSO. To do SSO....you need vCenter and/or extended PSC. Either way, vCenter required.

Workstation 12.5.7 has VERY VERY SLOW Performance - How to Fix?

$
0
0

I have just upgraded to a new machine and on the new machine the virtual machines run incredibly slow. For example, on the old machine updating VMTools would take about 2-3 minutes on the new machine (using the IDENTICAL vm files) takes 3-4 hours.

 

Old machine - Core i7 X920 Processor @ 2.00GHz with 16GB RAM and running Windows 10 x64  with windows installed on a SSD drive.

 

New machine - Core i7-7700HQ Processor @ 2.80GHz with 32GB RAM and running Windows 10 x64 Version 1703 with windows installed on a SSD drive..

 

I am comparing the SAME vm files running via USB3.0 external HDD. I know this is not the best option but it is only for testing and comparison, the normal day-to-day use of them machines are on another internal HDD.

 

When looking at the windows resource monitor, while nothing else is runningthe worstation program does not seem to be using any real HDD activity, typically only 23KB/sec on the new machine.

 

I have also tried putting the vm files onto the SSD on the new machine with no chnage in performance, still takes more then 2 hours to update vmtools.

 

Any suggestions welcome?

 

Thanks.

Re: ESXi 6.0 Datastore expansion

$
0
0

I ran the commands and below is the output:

 

[root@esxi:/vmfs/volumes] cd /vmfs/devices/disks/

[root@esxi:/dev/disks] ls -lh

total 46879536016

-rw-------    1 root     root      954.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0

-rw-------    1 root     root        4.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0:1

-rw-------    1 root     root      250.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0:5

-rw-------    1 root     root      250.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0:6

-rw-------    1 root     root      110.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0:7

-rw-------    1 root     root      286.0M Jun 30 23:47 mpx.vmhba32:C0:T0:L0:8

-rw-------    1 root     root           0 Jun 30 23:47 mpx.vmhba34:C0:T0:L1

-rw-------    1 root     root       21.8T Jun 30 23:47 naa.6782bcb029d1cb0020e269f008379987

-rw-------    1 root     root       21.8T Jun 30 23:47 naa.6782bcb029d1cb0020e269f008379987:1

lrwxrwxrwx    1 root     root          20 Jun 30 23:47 vml.0000000000766d68626133323a303a30 -> mpx.vmhba32:C0:T0:L0

lrwxrwxrwx    1 root     root          22 Jun 30 23:47 vml.0000000000766d68626133323a303a30:1 -> mpx.vmhba32:C0:T0:L0:1

lrwxrwxrwx    1 root     root          22 Jun 30 23:47 vml.0000000000766d68626133323a303a30:5 -> mpx.vmhba32:C0:T0:L0:5

lrwxrwxrwx    1 root     root          22 Jun 30 23:47 vml.0000000000766d68626133323a303a30:6 -> mpx.vmhba32:C0:T0:L0:6

lrwxrwxrwx    1 root     root          22 Jun 30 23:47 vml.0000000000766d68626133323a303a30:7 -> mpx.vmhba32:C0:T0:L0:7

lrwxrwxrwx    1 root     root          22 Jun 30 23:47 vml.0000000000766d68626133323a303a30:8 -> mpx.vmhba32:C0:T0:L0:8

lrwxrwxrwx    1 root     root          20 Jun 30 23:47 vml.0000010000766d68626133343a303a31 -> mpx.vmhba34:C0:T0:L1

lrwxrwxrwx    1 root     root          36 Jun 30 23:47 vml.02000000006782bcb029d1cb0020e269f008379987504552432048 -> naa.6782bcb029d1cb0020e269f008379987

lrwxrwxrwx    1 root     root          38 Jun 30 23:47 vml.02000000006782bcb029d1cb0020e269f008379987504552432048:1 -> naa.6782bcb029d1cb0020e269f008379987:1

[root@esxi:/dev/disks] cd /vmfs/volumes/

[root@esxi:/vmfs/volumes] ls -lh

total 1792

drwxr-xr-x    1 root     root           8 Jan  1  1970 17ee49ef-4db8dcf5-22b9-c567c87345ee

drwxr-xr-x    1 root     root           8 Jan  1  1970 4fc37f51-76014844-a4c2-14feb5c6f735

drwxr-xr-t    1 root     root        4.1K Jun 25 00:43 4fc382fb-6fe1f9dc-5b4e-14feb5c6f733

drwxr-xr-x    1 root     root           8 Jan  1  1970 95c964e7-86ca1288-c28b-49f4da6486fa

lrwxr-xr-x    1 root     root          35 Jun 30 23:47 Datastore 0 - ESXi -> 4fc382fb-6fe1f9dc-5b4e-14feb5c6f733

[root@esxi:/vmfs/volumes]

 

Attached are the logs.

Re: Guest XP can't see vCenter

$
0
0

This sounds and looks like you are running nested ESXi inside VMware Workstation. Which is totally cool!

 

However, it does add some extra layers. Based on your description, vCenter is running somewhere outside the VMware workstation installation. What you want to do is verify that the physical NIC on the VMware workstation PC is presented to each ESXi host. I suspect that the 192.168.1.135 IP for the XP guest is actually being given by VMware workstation.

 

You can verify this by doing a IPconfig /all. It will show the DHCP server.

Re: Configured scratch location doesn't work after upgrade to ESXi 6.5

$
0
0

That is rather unusual. The thing about ScratchConfig.ConfiguredScratchLocation is that vSphere will error out if your targeted location is not correctly named.

 

With that said, as I have done too many upgrades to recall all of them. Clear out all files in the folder on the datastore and then update ScratchConfig.ConfiguredScratchLocation. Reboot, it should work. I have never seen it not work and I'm running several hosts on vSphere 6.5.

Re: Setup a testing environment with easy reset of VM state for multiple software versions

$
0
0

I would recommend the free Veeam backup as a short term solution. Then purchase veeam if you like it. It really is the best solution our their for what you want to achieve.

 

Veeam Link


Re: EVGA GeForce GT 710 2GB DDR3 video card is allowed only 128MB video memory

$
0
0

Sorry but you are mixing virtual video memory with physical video memory.

 

Unless you are directly presenting the video card to the VM, such as DGA (Direct Graphics Acceleration). The "Video Memory" you are configuring is just normal memory provided to a virtual video card inside the VM.

 

Interestingly enough, vSphere 6.5 supports exactly 2GB of video memory. However, that means that your host has 2GB to give in addition to the normal memory it is providing to your VMs.

Re: ESXi 6.0 Datastore expansion

$
0
0

LUN naa.6782bcb029d1cb0020e269f008379987 shows correct size on the esxi host.

-rw-------    1 root     root       21.8T Jun 30 23:47 naa.6782bcb029d1cb0020e269f008379987

-rw-------    1 root     root       21.8T Jun 30 23:47 naa.6782bcb029d1cb0020e269f008379987:1

 

Apart from some generic scsi sense code i am not seeing any relevant error message in the log.

2017-06-30T10:02:48.514Z cpu16:33287)ScsiDeviceIO: 2651: Cmd(0x43a5cb18c180) 0x1a, CmdSN 0x1f674 from world 0 to dev "naa.6782bcb029d1cb0020e269f008379987" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.

 

Do you see  LUN naa.6782bcb029d1cb0020e269f008379987 in the available  LUN list when you attempt to increase the size of vmfs from GUI (web client)?

What error message you get when you try extend the vmfs from the GUI. It would interesting to see the log from the time when you try to extend the vmfs.

 

If you found this or any other answer helpful, please consider the use of the Correct or Helpful to award points.

 

Best Regards,

Deepak Koshal

CNE|CLA|CWMA|VCP4|VCP5|CCAH

Re: ESXi 6.0 Datastore expansion

$
0
0

You mentioned you expanded the array, meaning the virtual disk is now expanded for the 4TB drives.

 

If that is true, did you run the "Rescan Storage" task on the host? It should then recognize the space and allow you to add an extent on the datastore for the extra space.

Re: Workstation 12.5.7 has VERY VERY SLOW Performance - How to Fix?

$
0
0

Hi,

 

Welcome at the VMware communities forum.

 

Are you by any chance running one of the following antivirus products?

AVG, Avast or BitDefender Antivirus 2017?

 

For AVG and Avast have a look here for tips on changing settings:

XP VM suddenly slow, Win 7 fine

 

For BitDefender the only solution I am currently aware about is to uninstall the 2017 version and roll back to an older version.

 

--

Wil

Re: VROPs monitor IOP per vmdk

$
0
0

Trying to create a Dashboard that would show each Drive. looks like it cant do it for individual vmdks. only the sum of all.

Viewing all 246801 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>