Getting Started with DeskDirector
DeskDirector Portals
Browser Support
What is the DeskDirector Admin Portal?
What is the DeskDirector TECH Portal?
What is the DeskDirector Client Portal?
Desktop Portal
Managing Your Account
Pricing & Subscription Plans
Deskdirector - Sign up walk through
Managing your DeskDirector Subscription
Admin Essentials
Release Notes
Permissions & Feature Configuration (Tokity)
Permissions & Feature Configuration (ConnectWise/Autotask Partners)
Automatic Contact Creation
The Developer Corner
DeskDirector Features Overview
Desktop Portal Version Differences
Logging in to DeskDirector
User Profiles & Profile Pictures
Office Hours
Using Markdown
How Searching Works
Embedding Help Page Media
Get started with the DeskDirector Power Automate Connector
Features
Portal Customization
Service Catalogue
Forms
Getting started with DeskDirector Forms
DeskDirector Forms - Question Types in Detail
Dynamic Form Content
Communication
Actionable Messages for Emails
Real-Time Chats
Notifications
Email Notifications
Email Template Engine
Surveys
Broadcasts
Generative AI
DeskDirector with Generative AI
Setting up AI Service Providers
AI Assistants in DeskDirector
Custom Tools for AI Assistants
Knowledge Bases for AI Assistants
Ticket Summary for Tech Portal
Advanced
Login & Authentication
Contact & User Groups
Approvals
Task Lists
The Learning Center
Tags
Custom Domains
File Storage
Portal Deep Linking
Clean Tickets
Contacts
Accounts
Service Dashboard
Auditing and Analytics
Integrations
ConnectWise
ConnectWise Custom Menu Item for DeskDirector
ConnectWise
ConnectWise Quotes & Invoices
ConnectBooster
ConnectWise Sell
ConnectWise - Avoid Aggressive Notifications
AutoTask
Switching or Merging PSAs
QuoteWerks
Wise-Pay
TimeZest
BiggerBrains
OneNote Notebooks
Integrations - Frequently Asked Questions
IT Glue
Microsoft Teams App
Introducing the DeskDirector for Microsoft Team App
Installing the Microsoft Teams App (Client Mode)
Installing the Microsoft Teams App (Tech Mode)
Setting up Tags for Teams Discussions (Tech)
Branding the DeskDirector Teams App
DeskDirector Teams App Notifications
User Groups Integration with Microsoft Teams
Setting up Content Security Policy (CSP)
Advanced topic: Setting up Tech & Client Mode in the same tenancy
Integrating Microsoft Teams with DeskDirector Tech Portal
Smart Alerts for Tech Users
Microsoft Power Automate
Actions
Solutions
Power Automate Template Gallery
Featured Solution: Teams Ticket Discussion
Featured Solution: Ticket Briefing
Introduction to Power Automate
Power Automate Connector - Setting up your first flow
DeskDirector Power Platform Connector Reference
DeskDirector Connector Triggers
Troubleshooting
Troubleshooting via Web Developer Tools
Desktop Portal - Common Issues
Contact & Service Agent Impersonation
Diagnose Entities Tool
DeskDirector Desktop App - Installation Issues
Troubleshooting DeskDirector Connection Issues
Login & Authentication - Common Issues
Permissions & Access - Common Issues
Tickets & Chats - Common Issues
Approvals - Common Issues
Email & Email Delivery - Common Issues
PSA Entity Syncing - Common Issues
PSA Integration - Common Issues
ConnectWise Integration - Common Issues
Autotask Integration - Common Issues
ConnectWise Audit Trail - Exporting API Logs
Microsoft Teams App - Common Issues
Contact DeskDirector Support
Security
Glossary
Archived
- All Categories
- Archived
- Deploying DD Desktop Portal v5 via PowerShell
Deploying DD Desktop Portal v5 via PowerShell
v5 of the DeskDirector desktop portal was released early 2022. This guide will help you deploy the portal to your machines via PowerShell.
Pre-requisites for the installation:
For the PowerShell script to work, it requires a remote location of these four files:
- DD Portal MSI installer
- appsettings.json :
- Favicon.png :
- logo.png
With release of 5.0.10, the installer will looking for setting or logo file under folder following folder. Such behaviour can help RMM to install client portal automatically, without issue related to required files missing.
C:\Temp\DeskDirector
- Download MSI, setting and logo files under C:\Temp\DeskDirector folder.
- RMM use msiexec.exe to execute on the installer under above folder.
The PowerShell script is below: (a copy can also be downloaded here)
$urlWebView = "https://go.microsoft.com/fwlink/?linkid=2124701"
$clientDesktop = Read-Host -Prompt 'Input your target location to download Client_desktop_app.msi'
$dotNet6 = "https://download.visualstudio.microsoft.com/download/pr/dc0e0e83-0115-4518-8b6a-590ed594f38a/65b63e41f6a80decb37fa3c5af79a53d/windowsdesktop-runtime-6.0.7-win-x64.exe"
$favicon = Read-Host -Prompt 'Input your target location to download favicon.png'
$logo = Read-Host -Prompt 'Input your target location to download logo.png'
$appsettings = Read-Host -Prompt 'Input your target location to download appsettings.json'
$output = "$PSScriptRoot\webview2.exe"
$output2 = "$PSScriptRoot\client_desktop_app.msi"
$dotnetLOC = "$PSScriptRoot\windowsdesktop-runtime-6.0.7-win-x64.exe"
$faviconLOC = "$PSScriptRoot\favicon.png"
$logoLOC = "$PSScriptRoot\logo.png"
$appsettingsLOC = "$PSScriptRoot\appsettings.json"
$start_time = Get-Date
# 1. Invoke-WebRequest Webview2 download
Invoke-WebRequest -Uri $urlWebView -OutFile $output
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 2. Invoke-WebRequest DesktopApp download
Invoke-WebRequest -Uri $clientDesktop -OutFile $output2
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 3. Invoke-WebRequest Dotnetv6 download
Invoke-WebRequest -Uri $dotNet6 -OutFile $dotnetLOC
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 4. Invoke-WebRequest favicon download
Invoke-WebRequest -Uri $favicon -OutFile $faviconLOC
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 5. Invoke-WebRequest logo download
Invoke-WebRequest -Uri $logo -OutFile $logoLOC
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 6. Invoke-WebRequest appsettings download
Invoke-WebRequest -Uri $appsettings -OutFile $appsettingsLOC
"Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
# 7. Install Webview2, install Dotnet6, Install Deskdirector Client (with progress bar)
Start-Process -wait -FilePath $output -ArgumentList "/silent /install" -Verb RunAs
Start-Process -wait -FilePath $dotnetLOC -ArgumentList "/silent /install" -Verb RunAs
cd $PSScriptRoot
msiexec.exe /i $output2 /qn
Write-Output "Setup complete"
What does the PowerShell script do?
- Downloads webview, netcorev6, DD client
- Prompts the user for 3 locations of the files -favicon.png, logo.png, appdata.json
- Downloads all these files to the same directory where the script is being run (suggest to do this from C: temp) or new folder etc.
- Silently installs webview2 (silent) install .net6 (silent) installs DD client (with progress bar)