Shared Devices - Create a Regedit for VMWare settings via PowerShell

 

Create and deploy a PowerShell script - Link

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

Create the PowerShell script

In notepad - create a PowerShell script as below - save as SharedDevices.PS1
New-Item -Path "HKLM:\SOFTWARE\VMware, Inc.\VMware VDM\Agent" -Force


Deploy the script via Intune -
Devices - Scripts


Add - Windows 10


Basics -
Name - Shared Devices - Regedit
Description - PowerShell script to edit the registry to enable shared devices for machine wide installs
Next


Script Settings -
Script location - Browse and select the PowerShell script
Run this script using the logged in credentials - No -
Run script in 64 bit PowerShell host - Yes -     (Running in 32 bit host will not update the Registry)
Next


Assignments -
Select - Add groups


Select the groups this is to apply to.
As this edits the HKEY Local Machine registry keys - we only need to target device groups.
Click - Select


Next -

Review and Add
Add


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

User experience -

Testing -
Logon as dem.shared
Register with Company Portal -
Reboot -

Registry key will be created as below


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


 

About the author -

Terry Munro is an IT specialist based in Brisbane, Australia.
He draws upon over 20 years experience designing and delivering technical solutions to a variety of enterprise clients in the private, Government and Education sectors, to revolutionise client businesses through collaboration and getting the most value from a variety of cloud solutions.
He is passionate about learning new technologies and is a firm believer in sharing knowledge to provide a better experience for all.
You can connect with Terry on LinkedIn - https://www.linkedin.com/in/terry-munro/
 


No comments:

Post a Comment