Giter VIP home page Giter VIP logo

avd-client-cleanup's Introduction

AVD-Client-Cleanup

This script will help you clean up an AVD Client installation (also know as Remote Desktop Client for AVD or Windows Desktop client for AVD).
This could be helpful when you are unable to uninstall or update an existing installation.
After the cleanup, your default browser will open to download the latest version of the AVD Client.

This script only deals with the Windows Installer edition of the AVD client. The Microsoft Store version is not in scope!

Blog: https://www.cloud-architect.be/2021/10/19/avd-client-cleanup/

Parameters

  • -SilentRun
    This parameter will remove all prompts and will remove all found entries automatically.
  • -RemovePersonalSettings
    This parameter will allow the script to clean up all personal settings in the registry. By default, this will be skipped, keeping your entries in the client when installing the AVD client again.

Download script

This will help you download the script:

  • Open a new Powershell window AS ADMINISTRATOR
New-Item -ItemType Directory -Path "C:\Temp" -Force
Set-Location -Path "C:\Temp"
$Uri = "https://raw.githubusercontent.com/michawets/AVD-Client-Cleanup/main/AVD_Client_cleanup.ps1"
# Download the script
Invoke-WebRequest -Uri $Uri -OutFile ".\AVD_Client_cleanup.ps1"

Example commands

This example will start the script in default mode, prompting for each cleanup

& '.\AVD_Client_cleanup.ps1'

This example will clean up everything found without prompting for confirmation

& '.\AVD_Client_cleanup.ps1' -SilentRun

This example will clean up without confirmation, and will also clean up Personal Settings from the AVD Client (Full cleanup)

& '.\AVD_Client_cleanup.ps1' -SilentRun -RemovePersonalSettings

Cleanup locations

This script will clean up these locations:

  • Machine installation Registry location(s)
  • User installation Registry location(s)
  • Machine installation folder(s)
  • User installation folder(s)
  • Start Menu icons for the user
  • Start Menu icons on the machine
  • Leftover shortcuts pointing to applications/desktops



Legal Disclaimer

THESE SCRIPTS AND EXAMPLE FILES ARE PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

UNDER NO CIRCUMSTANCES SHALL THE AUTHOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND RELATED TO OR ARISING OUT OF YOUR USE OF THE SCRIPTS AND EXAMPLE FILES, EVEN IF THE AUTHOR OR USER HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.

avd-client-cleanup's People

Contributors

michawets avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.