Category: Windows (Page 3 of 4)

Command Line/Powershell create users, block password change

Add User and Set Password to Never Expire (especially for Scanning User)

Net user Scanning Scanning12 /add

Make PW never expire (Powershell most reliable to work, all will still break with big windows updates)

  • Command Line Admin option 1 (deprecating): WMIC USERACCOUNT where Name=’Scanning’ set PasswordExpires=False
  • Command Line Admin option 2 (sometimes an option): net user “Scanning” /expires:never
  • Powershell Admin (most reliable): Set-LocalUser -Name “Scanning” -PasswordNeverExpires $true

Command line Add Users and Scans Folder w sharing, Password Never Expires

Add User and Set Password to Never Expire (especially for Scanning User)

Net user Scanning Scanning12 /add


Make PW never expire

  • Command Line Admin: WMIC USERACCOUNT where Name=’Scanning’ set PasswordExpires=False
  • Powershell Admin: Set-LocalUser -Name “Scanning” -PasswordNeverExpires $true

Commands to Setup and Share Scans Folder through CLI

Mkdir C:\SCANS (creates Scans folder)

Dir C:\ (to confirm Scans folder creation)

Cd c:\scans (to select scans folder)

Net share scans=c:\scans /grant:Scanning,full (to grant read/write permissions with Scanning User – confirm permissions if needed)

Dell Optiplex 3020 BIOS reset

Dell Optiplex 3020 BIOS Reset (often at ACS)

BIOS Password was turned on, removing the CMOS battery to reset the bios didn’t seem to change anything. It may have been because the power cable was still plugged in so this may be a non issue, but just in case here are the jumper directions for this computer.

https://www.dell.com/support/manuals/en-us/optiplex-3020-desktop/opt3020sffom-v1/clearing-forgotten-password?guid=guid-6bbbad27-a43f-47bc-b663-16d8fff9362a&lang=en-us

RustDesk Setup for Ultrex Server

We now have a paid, private, hosted Rustdesk server- so you don’t have to use the public one, but also don’t need to be setting up one for every customer. 

I follow the instructions found here:

Good ole network chuck.

Now in Linode, we have an ubuntu server, running docker, running rustdesk server.

All that to say, from now on, you can go to the network tab within settings

The IP of the Ultrex server (only for us and paying customers on retainer)

172.234.230.92

Put that into the ID server and Relay server area.

Then in the API server, leave it blank

Then in the Key field, put:

YM2qOJS2H2MMa5BqJrxaSrYZwtiGncmWhB+y4GI2pPw=

Alternatively you can use this and the import button

==Qfi0zdQBnMJdEN5tiQodVbj52RpR3dallcTFGeypUcCVTYN1kMIJzUK9Ucy0UWiojI5V2aiwiIiojIpBXYiwiIykjLwMjMuQzMy4iM3EjI6ISehxWZyJCLiITOuAzMy4CNzIjLycTMiojI0N3boJye

That’s it- you’ll know it’s working when it doesn’t tell you “for faster speed host your own server”

This isn’t able to see any traffic going through it, just relaying peoples devices from their computers to each other, but not containing any unencrypted traffic. 🙂 

Setting Up RustDesk for Remote Access

Setting Up RustDesk for Remote Access

Purpose

This article shows you how to install and configure RustDesk, an open-source remote access tool. It’s used to remotely control or access client or internal computers for support or management purposes.

When to Use

Use this guide when setting up a new device for remote support via RustDesk — either for internal use (Ultrex techs) or when helping a client establish a connection for remote service.


Overview: What Is RustDesk?

RustDesk is a secure, open-source remote desktop solution that allows remote access and control of another computer. It’s a great alternative to TeamViewer or AnyDesk, providing:

  • Easy remote access for IT support.
  • Secure connections with optional 2FA.
  • Full desktop control from anywhere.

We’ll cover setup on both ends:

  • Destination computer – the system being controlled.
  • Source computer – the system used to connect remotely.

Step 1: Install RustDesk on the Destination Computer

  1. Go to rustdesk.com and click Download.
  2. You’ll be redirected to RustDesk’s GitHub releases page. Under the Windows column, download the file marked .MSI.
  3. Once downloaded, open the file and proceed with installation:
    • Click Next through the prompts.
    • Accept the license agreement.
    • Click Finish when done.
  4. RustDesk will launch automatically. You’ll see your computer’s unique ID on the left-hand side — record this ID, as it will be needed to connect.

Step 2: Configure Security Settings

Set a Permanent Password

  1. Click the three dots next to your computer’s ID and select Settings.
  2. Go to the Security tab.
  3. Click Unlock to enable editing.
  4. Scroll to Password Options → select Use Permanent Password.
  5. Create a strong, unique password (you can use passgen.co to generate one).
  6. Enter it in both fields and click OK.

Enable Two-Factor Authentication (Optional)

  1. Still in the Security tab, check Enable 2FA.
  2. Scan the displayed QR code with an authenticator app (Google Authenticator or Microsoft Authenticator are both fine).
  3. Enter the six-digit code from the app to finalize setup.

Tip: If you’re not already using an authenticator app, Google Authenticator is quick and easy to set up.


Step 3: Install RustDesk on the Source Computer

Repeat the same installation process on the computer you’ll be connecting from.

Once installed:

  1. Open RustDesk.
  2. In the Control Remote Desktop field, enter the destination computer’s unique ID.
  3. Click Connect.
  4. Enter the permanent password set earlier. Optionally check Remember password for future use.
  5. If 2FA is enabled, enter your six-digit authentication code to complete the connection.

Tips for Reliable Remote Access

  • Keep the destination PC awake and online. RustDesk requires it to stay powered on and connected to the internet.
  • Trust devices selectively. Only check “Trust this device” on private computers — never on public or shared systems.
  • Be aware of visibility. Actions performed while connected are visible on the destination’s monitor if it’s on.

Troubleshooting

If RustDesk fails to connect or shows a timeout:

  • Ensure both devices are online.
  • Verify the ID and password are correct.
  • Restart the RustDesk service or the app on both devices.

If issues persist, Ultrex IT retainer clients can contact support for remote troubleshooting assistance.


Recap / Key Takeaways

RustDesk provides a free, secure, and simple way to connect remotely to computers — ideal for both internal management and client support. With optional 2FA and permanent password setup, it balances ease of use with strong security.

Use this setup as a standard procedure when enabling remote access for clients or internal systems.

BIOS Flash

If you have a computer that is unable to load the BIOS and won’t let you continue, you’ll more than likely need to update the BIOS via a USB Drive

Look at the manufacturer’s website (HP, Dell, Asus, etc.) and look for the make and model of the computer you’re working on.

Go to Drivers and Software and hopefully they’ll have a BIOS section.

Select the installer you need and download it

Once downloaded, run the program on any computer (like the one you did the download on) that currently works.

The program should give you the option to create a USB drive.  Make sure you have a blank USB Drive or a drive you’re okay with formatting.  Click start and let the program do its thing.

Once the drive is created, slap the USB drive in the computer that needs the BIOS flash and then power the computer on.  It should automatically initialize and update.

Atera removed from console, need it to come back

If you delete an agent from the console, it can still be running on the client, but not show up in our dashboard. You need to delete a few registry keys then reinstall the agent of that client. This powershell script is also hosted on itstuff.ultrex.com for ease of copy/paste from target device.

Run the following fully in command line (ignore any errors). Then reboot machine, then reinstall Atera Agent.

# Stop Atera service if running

Write-Output “Stopping Atera services…”

Stop-Service -Name “AteraAgent” -Force -ErrorAction SilentlyContinue

Stop-Service -Name “AteraAgentHelper” -Force -ErrorAction SilentlyContinue

# Kill lingering processes

Write-Output “Killing Atera processes…”

Get-Process -Name “AteraAgent*” -ErrorAction SilentlyContinue | Stop-Process -Force

# Uninstall via MSI if registered

Write-Output “Checking for MSI uninstall entry…”

$msi = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like “Atera*” }

if ($msi) {

    $msi.Uninstall()

}

# Remove leftover folders

Write-Output “Removing leftover directories…”

$paths = @(

    “C:\Program Files\Atera Networks\AteraAgent”,

    “C:\Program Files (x86)\Atera Networks\AteraAgent”,

    “C:\ProgramData\Atera Networks\AteraAgent”

)

foreach ($path in $paths) {

    if (Test-Path $path) {

        Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue

    }

}

# Remove registry keys

Write-Output “Cleaning registry entries…”

$regPaths = @(

    “HKLM:\SOFTWARE\ATERA Networks”,

    “HKLM:\SOFTWARE\WOW6432Node\ATERA Networks”,

    “HKLM:\SYSTEM\CurrentControlSet\Services\AteraAgent”,

    “HKLM:\SYSTEM\CurrentControlSet\Services\AteraAgentHelper”

)

foreach ($reg in $regPaths) {

    if (Test-Path $reg) {

        Remove-Item -Path $reg -Recurse -Force -ErrorAction SilentlyContinue

    }

}

Write-Output “Atera agent removal complete. A reboot is recommended.”

Install Winget on machines that don’t have it

✅ Step-by-Step Installation via PowerShell

  1. Open PowerShell as AdministratorEnsure you’re running PowerShell with administrative privileges.
  2. Set Execution Policy (if not already set)This allows the script to run:
    powershell
    CopyEditSet-ExecutionPolicy RemoteSigned -Scope Process -Force
  1. Install the winget-install Script
    This script automates the installation of WinGet and its dependencies:
    powershell
    CopyEditInstall-Script -Name winget-install -Force
    If prompted to install the NuGet provider or trust the repository, respond with ‘Yes’ or ‘Y’.
  2. Run the Installation Script
    Execute the script to install WinGet:
    powershell
    CopyEditwinget-install.ps1
    This will download and install all necessary components, including dependencies like Microsoft.UI.Xaml and Microsoft.VCLibs.
  3. Verify the Installation
    After completion, confirm that WinGet is installed:
    powershell
    CopyEditwinget --version
    You should see the installed version number displayed.

Extracting RST Drivers from an EXE

Extracting RST Drivers from an EXE


**************************************************************************

* 6.  INSTALLING THE SOFTWARE

**************************************************************************

6.1 General Installation Notes

a.  If you are installing the operating system on a computer configured for RAID or AHCI

    mode, you may pre-install the Intel(R) Rapid Storage Technology driver using the 

    “F6” (Load Driver) installation method described in section 6.3 below.

b.  If you’re installing the operating system on a computer configured for ‘Intel(R) Smart 

    Response Technology’ or ‘System Acceleration with Intel(R) Optane(TM) Technology’, you 

    must pre-install the Intel(R) Rapid Storage Technology driver using the 

    “F6” (Load Driver) installation method described in section 6.3 below.  The Intel(R) RST pre-OS version must support the Intel(R) RST technology that you are installing to.

c.  To install Intel(R) Rapid Storage Technology from within the OS during runtime, 

    double-click on the self-extracting and self-installing setup file and answer all

    prompts presented.

6.2 Intel(R) RST Windows Automated Installer*. Installation from HDD, USB, or CD-ROM

Note: This method is applicable to computers configured for RAID or AHCI mode.

a.  Obtain the Intel(R) Rapid Storage Technology setup file name: SetupRST.exe and

    double-click to self-extract and to begin the setup process.

b.  The Welcome window appears. Click ‘Next’ to continue.

c.  For systems running in RAID mode, the Uninstallation Warning window appears. You will 

    not be able to uninstall the driver in this mode. Click ‘Next’ to continue.

d.  The Software License Agreement window appears. If you agree to these terms, click the

    check box then click ‘Yes’ to continue.

e.  Select the check box to install Intel(R) Optane(TM) Memory and Storage Management application if required then click ‘Next’ to continue.

f.  If the Windows Automated Installer* Wizard Complete window is shown without a prompt 

    to restart the system, click ‘Finish’ and proceed to step “g”. If it is shown with a 

    prompt to restart the system, select ‘I want to restart my computer now.’ 

    (selected by default) and click ‘Finish’. Once the system has restarted, proceed to 

    step “g”.

g.  To verify that the driver was loaded correctly, refer to section 7.

6.3 Pre-Installation of INTEL(R) RST driver using the “Load Driver” Method.

a.  Extract driver files from SetupRST.exe:

    – Open terminal in the directory with SetupRST.exe by right-clicking the directory

      and selecting “Open in Terminal” or “Open PowerShell here”

    – Enter the following command:

      ./SetupRST.exe -extractdrivers SetupRST_extracted

b.  Copy all driver files from the SetupRST-extracted to a USB key media.

c.  For Microsoft Windows OS*:

    – During the operating system installation, after selecting the location to install 

      Windows, click ‘Load Driver’ to install a third party SCSI or RAID driver.

d.  When prompted, insert the USB media and press Enter.

e.  Follow the prompts and browse to the location of the installation files.  Select the 

    appropriate ‘.inf’ file (64 or 32 bit).  If a supported controller is detected there 

    will be no error message. Follow prompts to continue and complete the installation.

« Older posts Newer posts »

© 2026 Ultrex Staff

Theme by Anders NorenUp ↑