PowerShell – Detect AzureAD Device or Azure VDI

Building upon the previous post, let’s extend our detection capability to include Azure VDI.   Code.ps1 # MrNetTek # eddiejackson.net # 9/11/2024 # free for public use # free to claim as your own # Function to detect if FSLogix is installed function Test-FSLogix { param ( [string]$Path = “C:\Program Files\FSLogix” ) return Test-Path $Path Read More …

Azure – VDI – Nerdio – Add AD Group to Host Session

  Code.ps1   # MrNetTek # eddiejackson.net # 7/15/2022 # free for public use # free to claim as your own $ErrorActionPreference = ‘Continue’ Write-output “Getting Host Pool Information” $HostPool = Get-AzResource -ResourceId $HostpoolID $HostPoolResourceGroupName = $HostPool.ResourceGroupName $HostPoolName = $Hostpool.Name $Script = @” `$ErrorActionPreference = ‘Continue’ Try { #Add specific user #Add-LocalGroupMember -Group “Administrators” -Member Read More …

PowerShell – Enabling All Notifications (Azure and Desktops)

Code.ps1   # MrNetTek # eddiejackson.net # 1/10/2022 # free for public use # free to claim as your own Clear-Host # GLOBAL # SET LOCAL MACHINE KEYS cmd /c “reg add “”HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications”” /v DisableNotifications /t REG_DWORD /d 0 /f /reg:64″ cmd /c “reg add “”HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications”” /v DisableEnhancedNotifications /t Read More …

Acrobat 2020 – App Attach Testing and Troubleshooting

Unregister Package (unload app) Remove-AppxPackage AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882   Register Package (load app) Add-AppxPackage -Path ‘C:\Program Files\WindowsApps\AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882\AppxManifest.xml’ -DisableDevelopmentMode -Register   Launch App start shell:AppsFolder\AdobeAcrobat2020_1nrb0vh0kd882!ACROBAT   Create Desktop Shortcut explorer.exe shell:AppsFolder\AdobeAcrobat2020_1nrb0vh0kd882!ACROBAT     Notes Element Not Found Check the Access Control Entry for each user; look for corrupted entries. Resets ACE (Remove Corrupted Entries) icacls “C:\Program Files\WindowsApps\AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882” /c Read More …

PowerShell – Sandbox Testing App Attach Apps – No WVD Required

Use these steps to test your MSIX VHD, without having to use Windows Virtual Desktop. It’s a great way to make sure your MSIX package and MSIX VHD are working properly, and simulate the installation of an app attach application.   Microsoft Magic The magic behind app attach is a mounted VHD (Mount-Diskimage), a file Read More …

Windows Virtual Desktop – Sessions Showing UTC Time

This is how you change from UTC to Eastern Standard Time in WVD, using only the registry.   Verify you have time servers Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers] “1”=”time.windows.com” “2”=”time.nist.gov”   Disable virtual time provider Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider] “Enabled”=dword:00000000 “InputProvider”=dword:00000000   Enable the NTPClient provider HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient “Enabled”=dword:00000001 “InputProvider”=dword:00000001   Apply Eastern Read More …