Virtualization, technology, and random rantings with a focus on Citrix and VMware.

Tag: windows

Are You The Keymaster!? : Script To Change ListOfDDCs in Registry

You have an upcoming change and some new DDCs you brought online. You may be changing out to Citrix Cloud (you better be), and you may need to change the ListofDDCs to you Cloud Connector. Sometimes GPO may take a minute to reflect what you want set. You can use this to change the ListOfDDCs quickly. You can also add the ListofSSIDs if that is something that you use by adding another registry name and value in your script block. I have the Get-ItemProperty used twice to get the result of what was set before the change and to show the reflected change. I just like to doubly confirm something and make sure something hinky was not afoot.

# Script to change DDCs on a group of Citrix servers. You will need access to the remote servers and firewall access with PowerShell.
$listServers = Get-Content c:\scripts\logs\svrlist.txt
$date        = Get-Date -Format MMddyyyy
$report      = @()

foreach($srv in $listServers) {

  $scriptBlock = {
    
    $regName  = "ListOfDDCs"
    $regValue = "DDC1 DDC2 or CC1 CC2"
    Get-ItemProperty -Path HKLM:\Software\Citrix\VirtualDesktopAgent
    Set-ItemProperty -Path HKLM:\Software\Citrix\VirtualDesktopAgent -Name $regName -Value $regValue
    Get-ItemProperty -Path HKLM:\Software\Citrix\VirtualDesktopAgent
       
  }

  $ddcUpdate  = Invoke-Command -ComputerName $srv -ScriptBlock $scriptBlock
  
  $report += $ddcUpdate
  
}

$report | Out-File c:\scripts\logs\$date-ddcchange-list.txt

You’ll Take It to the Edge and You Will Like IT!

Looks like some fun for the new 20H2 of das Windows 10.

https://www.pcmag.com/news/microsoft-confirms-windows-10-users-cant-uninstall-the-edge-browser?utm_campaign=trueAnthem%3A%20Manual&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR2Gx8eKL40c404SOI7WE_NnXkxxEP5Nu-fAC0Qafo8u8V0LwTJgZSUX9RY

Yep…. The Chromium based Edge browser, of which I have actually came to enjoy using, is going to replace the OLD Edge browser in the new 20H2. But…… There’s a catch! Wanna guess!? That’s right… Survey says…… You can’t uninstall it. It is now a part of the collective. AND…. It is the default browser! Whodathunkit!? So something to think about when you be rolling out nice, new and shiny 20H2 on your CVAD VDI. Ok. Now nothing to see here. Move along.

Powered by WordPress & Theme by Anders Norén