Category Archives: Windows

PowerShell Tutorials

How to Remove Radmin Viewer with PowerShell

Radmin Viewer, widely used for remote control and network monitoring, sometimes requires uninstallation across multiple devices, especially in managed environments. Using PowerShell to remove it is efficient and can be automated through Remote Monitoring and Management (RMM) tools, simplifying the process for IT administrators. This guide provides a PowerShell script to detect and remove Radmin Viewer, which you can deploy seamlessly through most RMM tools.

PowerShell-7

How to Remove Radmin Viewer with PowerShell

  1. Set Up the Script in Your RMM Tool: Most RMM tools, such as SuperOPS, Syncro, or N-Able, support PowerShell scripts. Copy the script below into the scripting or automation section of your RMM tool and configure it to run with administrative privileges.
  2. Run the Script to Detect and Uninstall Radmin Viewer: Once set up, this script will automatically detect and uninstall Radmin Viewer if installed.
   # Define the partial name for Radmin Viewer, allowing for 
Read the rest
PowerShell Tutorials

How to Remove User Pin with PowerShell

Learn how to remove user PINs using PowerShell with this step-by-step guide and sample script for managing biometric authentication on Windows systems.

PowerShell offers a variety of tools to help automate and manage tasks in Windows environments. In this guide, we’ll show you how to remove a user’s PIN using PowerShell. Removing a PIN from a system can be part of user management, security protocols, or resetting biometric authentication methods. Here’s a step-by-step process along with a sample script that utilizes the BiometricAuthentication PowerShell module.

Step 1: Install the Required Module

Before running the script, you need to ensure that you have the necessary PowerShell module. In this case, the module BiometricAuthentication is required for managing biometric authentication, including PINs.

To install the module, run:

Install-Module -Name "BiometricAuthentication" -Force

Step 2: Use the Script to Remove the PIN

The script below finds users with PINs and removes them:

# Import 
Read the rest
PowerShell Tutorials

How to Automate Microsoft Edge Updates with PowerShell

Learn how to automate Microsoft Edge updates using a simple PowerShell script, ensuring your systems stay secure and up-to-date effortlessly. Microsoft Edge, like many other applications, frequently receives updates that improve performance, add new features, and address security vulnerabilities. However, manually checking for updates can be time-consuming, especially in a business environment where automation is key.

PowerShell-7

Automating Microsoft Edge Updates

The script below allows you to automate the process of installing updates for Microsoft Edge. It works by executing the Microsoft Edge Update executable with specific arguments to silently check for and install updates.

$EdgeUpdatePath = "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"
$ArgumentList = "/silent /install appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&appname=Microsoft%20Edge&needsadmin=True"

$Process = Start-Process -FilePath $EdgeUpdatePath -ArgumentList $ArgumentList -PassThru -Wait

if ($Process.ExitCode -eq 0) {
    Write-Host "Update successfully installed."
} else {
    Write-Host "Update failed to install."
}

Why Automate Edge Updates?

Automating updates is especially useful for IT administrators managing multiple machines. It ensures that all … Read the rest

PowerShell Tutorials

How to Remove Dell Support Assist & Command Update with PowerShell

This PowerShell script is designed specifically to automate the removal of Dell SupportAssist and Dell Command | Update applications from systems. These Dell utilities are often pre-installed on Dell machines, and while useful for some environments, they may need to be removed for compliance, standardization, or even mitigating a potential vulnerability.

PowerShell-7

Script Overview:

  • Targeted Uninstallation: The script uses application name matching to locate and uninstall Dell SupportAssist and Dell Command | Update silently.
  • Automation-Friendly: Ideal for use in large-scale deployments, this script can be run remotely or as part of an automation process.
  • Silent Execution: The uninstallation process runs quietly without user prompts, making it suitable for background execution.

This script provides an efficient and streamlined way to remove these common Dell utilities across multiple devices in your environment.

Steps to Run the PowerShell Script:

1. Open PowerShell with Administrator Privileges:

  • Click on the Start menu, search for “PowerShell.”
  • Right-click
Read the rest
PowerShell Tutorials

How to Automate Disk Cleanup with PowerShell

Optimize your system’s performance with automated Disk Cleanup using PowerShell, ensuring thorough file removal across all user accounts effortlessly.

PowerShell-7

To run Disk Cleanup as the system user and clean up files for all user accounts on the computer using PowerShell, you can follow these steps:

  1. Run Disk Cleanup as System User: To perform Disk Cleanup with elevated privileges, use the schtasks command to schedule a task that runs as the system user. This task will be set to clean up system files and files from all user accounts.
  2. Execute Disk Cleanup: The cleanmgr utility can be used to run Disk Cleanup. However, there isn’t a direct way to specify all user accounts using cleanmgr. Instead, you can automate the process using the Dism (Deployment Imaging Service and Management Tool) command, which can clean up system components and Windows Update files.

Here’s an example PowerShell script to accomplish this:

# 
Read the rest
PowerShell Tutorials

Scanning Directories for Files with PowerShell

Learn how Scanning Directories for Files with PowerShell can help you locate specific files, making it easy to identify their paths, sizes, and modification dates.

Script Overview

The PowerShell script provided below searches for .xlsx files starting from the root directory C:\. It recursively scans through all subdirectories and returns a list of files that match the specified criteria. For each found file, it displays the full file path, file size, and the last modified date.

Get-ChildItem -Path C:\ -Recurse -Include *filenamehere.xlsx | Select-Object FullName, Length, LastWriteTime

Explanation of the Script

  • Get-ChildItem: This cmdlet retrieves the items (files and directories) from a specified location. It can be used to list files and directories in a given path.
  • **-Path C:**: This specifies the starting point for the search, which is the root directory C:\. You can change this to any directory you want to start your search from.
Read the rest
PowerShell Tutorials

How To Capture File Listing To CSV with PowerShell

Automate file management with a PowerShell script that lists file names and paths in a directory, exporting details efficiently to a CSV file.


Introduction

In the digital age, managing and organizing files efficiently has become crucial for both personal and professional productivity. One common task is the need to list all files within a directory, including their names and paths, and export this information to a CSV file for further analysis or record-keeping. To address this need, a PowerShell script has been developed to automate this process, making it both time-efficient and user-friendly.

Understanding the Script

The PowerShell script is designed to scan a specified folder and its subfolders, extracting the full path and name of each file. It then organizes this data into a neat CSV file, with separate columns for file paths and file names. This functionality is particularly useful for inventory management, digital asset organization, or simply … Read the rest

Windows Tutorials

How To Enable Windows Remote Desktop: A Step-By-Step Guide

Unlock the potential of remote computing with our comprehensive guide on How To Enable Windows Remote Desktop. Step-by-step instructions, expert tips, and more!


Introduction

Remote access to your computer is not just a convenience, it’s a necessity. Whether for managing business operations from afar or accessing personal files while on the go, Windows Remote Desktop is a powerful tool. This guide offers step-by-step instructions to unlock its full potential, ensuring a seamless remote desktop experience.

Enabling Remote Desktop For Windows 10 and Windows 11

  1. Open System Settings:
    • Right-click on the Start menu and select ‘Settings’.
    • Alternatively, press Win + I keys together.
  2. Navigate to Remote Desktop Settings:
    • In Windows 10: Go to ‘System’ and then ‘Remote Desktop’.
    • In Windows 11: Go to ‘System’ and then ‘Remote Desktop’ in the right-hand menu.
  3. Enable Remote Desktop:
    • Toggle the switch to ‘On’ under ‘Enable Remote Desktop’.
    • A warning about network
Read the rest
Windows Tutorials

Introduction to Mastering Windows Firewall

Explore expert tips to master Windows Firewall, ensuring robust security with advanced settings, best practices, and troubleshooting solutions.


Understanding the Importance of Windows Firewall

Windows Firewall serves as a crucial line of defense in the realm of internet security. It’s a built-in, powerful tool that monitors and regulates the data transferred between your computer and the network, playing a vital role in preventing unauthorized access and protecting your system from various online threats. Understanding its importance is the first step towards ensuring your digital safety and privacy.

Evolution of Windows Firewall: Past to Present

The evolution of Windows Firewall reflects the changing landscape of cybersecurity. From its inception as a basic network filtering software to its current sophisticated version offering advanced features, Windows Firewall has undergone significant transformations. This evolution highlights the increasing complexity of cyber threats and the corresponding need for robust defense mechanisms.

Step 1: Familiarizing with Windows

Read the rest
PowerShell Tutorials

How To Reset Icon Cache in Windows Using PowerShell

Learn how to reset the icon cache in Windows using a PowerShell script. Resolve issues with missing or corrupted icons on your desktop and file explorer with this step-by-step tutorial.


Introduction

The icons you see on your Windows desktop and in File Explorer play a crucial role in providing a visual representation of files, folders, and applications. Sometimes, due to various reasons, these icons can become corrupted or go missing, leading to a less-than-optimal user experience. To resolve such issues, one effective solution is to reset the icon cache. In this article, we will guide you through the process of resetting the icon cache in Windows using a PowerShell script. This method can help you restore missing or corrupted icons, ensuring a more polished and functional desktop environment.

PowerShell-7

Resetting the icon cache can be particularly useful when you notice icons not displaying correctly, appearing as generic placeholders, or completely disappearing. … Read the rest