> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.workstatus.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Uninstall the Previously Installed Workstatus Windows App Using Microsoft Intune

# How to Uninstall the Previously Installed Workstatus Windows App Using Microsoft Intune
### 1. Overview
This document explains how an IT administrator can uninstall the previously installed Workstatus Windows App from user systems by deploying a PowerShell script through Microsoft Intune.
Once the script is created and assigned to the required users or devices, Intune will execute it according to the configured assignment and execution schedule.

### 2. Prerequisites
Before starting the process, ensure that:
* You have access to the Microsoft Intune Admin Center.
* You have the required administrator permissions to create and assign PowerShell scripts.
* The PowerShell uninstall script has been prepared and shared by the Workstatus team.
* The target Windows devices are enrolled in Microsoft Intune.
* The appropriate user or device groups are available for assignment.

### 3. Log In to Microsoft Intune
* Open the Microsoft Intune Admin Center: <https://intune.microsoft.com/>
* Sign in using your administrator account.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot36_9r9b20.png)


### 4. Navigate to Platform Scripts
Follow these steps:
* Go to **Devices**.
* Select **Windows**.
* Navigate to **Scripts and remediations**.
* Open **Platform scripts**.
* Click **Add**.
* Select **Windows 10 and later** or the applicable Windows platform option, then select the PowerShell script type.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot37_3r4egp.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot39_697dgt.png)
### &#xA;5\. Configure the PowerShell Script
###### 5.1 Basic Information
Enter the following details:
* **Name:** Enter an appropriate script name.
* **Description:** Enter a description explaining that the script uninstalls the previously installed Workstatus Windows App.
Example:
**Name:** Uninstall Previous Workstatus Windows App
**Description:** PowerShell script to remove the previously installed Workstatus Windows App from targeted Windows systems.
Click **Next**.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot40_fo8ut3.png)


###### 5.2 Script Settings
Configure the following settings:
| Setting | Value |
| ---- | ---- |
| Script location | Upload the PowerShell script file shared by the Workstatus team |
| Run this script using the logged-on credentials | No |
| Enforce script signature check | No |
| Run script in 64-bit PowerShell Host | Yes |
**Important:** Verify that the uploaded PowerShell script targets the correct previous Workstatus application and does not remove unrelated applications or user data.
Click **Next**.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot42_1kczpw3.png)



###### 5.3 Assignment
Assign the script to the required users or devices.
Under **Included groups**:
1. Click **Add groups**.
2. Select the appropriate assignment target:
   * Required user group
   * All users
   * All devices
3. Verify the selected group or target before continuing.
**Recommendation:** Test the script on a limited group of Windows devices before assigning it to all users or devices.
Click **Next**.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot43_1fwej4.png)


###### 5.4 Review and Create
1. Review the basic information.
2. Verify the script settings.
3. Check the assignment configuration.
4. Click **Create**.
The PowerShell script is now configured in Microsoft Intune.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot62_1ukbzt5.png)

### 6. Automatic Uninstallation Process
After the script is created and assigned:
1. Microsoft Intune delivers the script to the targeted Windows systems according to its execution schedule.
2. The script runs using the configured execution context.
3. The previous Workstatus Windows App is removed if the script executes successfully and identifies the intended installation.
4. Intune reports the script execution status.
**Note:** Uninstallation is not necessarily immediate. The timing depends on Intune's device check-in and script execution schedule.
### 7. Verify the Uninstallation Status
1. Open the Microsoft Intune Admin Center.
2. Navigate to **Devices → Windows → Scripts and remediations → Platform scripts**.
3. Open the created uninstall script.
4. Review the device execution status, including successful and failed executions.
5. On the target Windows system, verify that the previous Workstatus application has been removed.
If the script fails, review the reported error and the PowerShell script logs before retrying.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/3/e/4/f3e4eb6758a66800/screenshot63_r0540i.png)


### 8. Final Validation Checklist
* [ ] Logged in to Microsoft Intune.
* [ ] Opened Windows Platform scripts.
* [ ] Added the PowerShell uninstall script.
* [ ] Configured the basic information.
* [ ] Uploaded the script shared by the Workstatus team.
* [ ] Configured the script execution settings.
* [ ] Assigned the required users or devices.
* [ ] Created the script successfully.
* [ ] Verified the script execution status.
* [ ] Confirmed that the previous Workstatus Windows App was uninstalled.
### 9. Expected Result
The previously installed Workstatus Windows App is removed from the targeted Windows systems after the Intune PowerShell script executes successfully.