Category Archives: Tutorials

How To Migrate SYSVOL From FRS to DFSR
You are most likely here because you have encountered an issue during your Active Directory Domain Controller migration. Most likely your active directory is old, FRS was released back in Windows Server 2000 and was only supported up to Windows Server 2012. With Windows Server 2016 and Windows Server 2019 you must run DFSR instead of FRS. In this tutorial you will learn how to migrate SYSVOL from FRS to DFSR.
During your migration to the new environment, you may run in the following error if still using FRS and upgrading to new Domain Controller.
Windows Server version can no longer be added as an Active Directory domain controller (DC) to an existing domain that is still using File Replication Service (FRS) for replication of the SYSVOL share.
When you try to add a New Windows Server 2016- 2019 as a DC to the domain, you receive the following error … Read the rest

Restore Dell N4024 or N4048 Switch to factory defaults
To restore the Dell N4024 or N4048 switch to factory defaults you can follow the below procedure:
- Manually reboot your switch
- While the switch is booting up keep an eye on the bootup screen and find “Dell Networking Boot Options” and select option #2 (Display Boot Menu) within 3 seconds.
- On Boot Main Menu, enter choice # 10 for enable password removal.
Dell Networking Boot Options
Select a menu option within 3 seconds or the Operational Code will start automatically…
1 – Start Operational Code
2 – Display Boot Menu
Select Cl , 2) # 2
Boot Main Menu
1 – Start Operational Code
2 – Select Baud Rate
3 – Retrieve Logs
4 – Load New Operational Code
5 – Display Operational Code Details
9 – Reboot
10 – Restore Configuration to Factory Defaults
11 – Activate Backup Image
12 – Start Password Recovery
Enter … Read the rest

Restore Dell N3024 or N3048 Switch to factory defaults
To restore the Dell N3024 or N3048 switch to factory defaults you can follow the below procedure:
- Manually reboot your switch
- While the switch is booting up keep an eye on the bootup screen and find “Dell Networking Boot Options” and select option #2 (Display Boot Menu) within 3 seconds.
- On Boot Main Menu, enter choice # 10 for enable password removal.
Dell Networking Boot Options
Select a menu option within 3 seconds or the Operational Code will start automatically…
1 – Start Operational Code
2 – Display Boot Menu
Select Cl , 2) # 2
Boot Main Menu
1 – Start Operational Code
2 – Select Baud Rate
3 – Retrieve Logs
4 – Load New Operational Code
5 – Display Operational Code Details
9 – Reboot
10 – Restore Configuration to Factory Defaults
11 – Activate Backup Image
12 – Start Password Recovery
Enter … Read the rest

Unifi Cloud Controller Adoption Using SSH
In this Tutorial I will be showing you how to adopt New Unifi Devices to your Unifi Cloud Controller using the SSH Method.
We will first start off by:
- Download and install Advanced IP Scanner.
- Open the Advanced IP Scanner and run a scan to locate all your New Unifi devices.
- Note: Make sure network discovery is enabled on your computer
- Within Advanced IP Scanner make sure to notice the IP addresses that each Unifi Device is using.
- Download, install, and run: PuTTY
- Enter the IP address of the UniFi device, Port 22, Connection type: SSH, and click “Open”
- Login using the default username is ubnt and password is ubnt.
- In that same console window type without quotes “set-inform” followed by the server address http://yourdomain:8080/inform”
- Make sure to use a DNS name instead of an IP address.
- Make sure to use http:// instead of https:// and use :8080/inform,

Unifi Cloud Controller Adoption
In this Tutorial I will be showing you how to adopt New Unifi Devices to your Unifi Cloud Controller.
We will first start off by:
- Download and install Google Chrome.
- Download, install and run within Google Chrome the Ubiquiti Device Discovery Tool
- Next Click: [Scan] and wait for your devices to show up.
- Note: Make sure network discovery is enabled on your computer.
- Afterwards click on [Unifi Family] on the top right corner.
- You should now see the [Action] Button next to all the devices.
- Click [Action].
- In this popup window change the “Inform URL” to your Unifi Controller’s set-inform URL
- Make sure to use a DNS name instead of an IP address.
- Make sure to use http:// instead of https:// and use :8080/inform, at the end of the domain, example: http://unifi.patrickdomingues.com:8080/inform.
- Log into your Unifi Cloud Controller and create your new site if needed. You should notice

How To Enable UniFi Controller MFA
In this Tutorial we will show you how to enable MFA for the UniFi Controller and once it is setup correctly you will be presented with the MFA login.
We will first start off by:
- Creating an account on Ubiquiti’s website https://account.ui.com/. Make sure to use the same email address that you are going to use for the Controller.
- Then follow these steps https://help.ui.com/hc/en-us/articles/115012986607-How-to-Enable-Two-Factor-Authentication#2
- Now log into your controller and go to Enable Settings > Remote Access > Local login with UBNT account on your UniFi server.
- Afterwards within your controller and create your admin account using the same exact username, email, and password as your UI account.
- Log out and then when you log in directly to UniFi you will be prompted for MFA

- PowerShell Script to Force Uninstall Umbrella Roaming Client
- How to Install Moodle on a Ubuntu 24.04 VPS with a Scripted

Kaseya Script for Windows Disk Cleanup
Aren’t you glad you stumbled upon this Kaseya Script for Windows Disk Cleanup? This Windows Disk Cleanup script for Kaseya cleans up everything from windows.
What does it do?
I am glad you asked. The script uses the Kaseya scripting engine to apply the options below to the registry and afterwards the script will run a CMD to run the specific Disk Cleaner Settings Profile we created to clean up all the junk.
- Active Setup Temp Folders
- BranchCache
- Downloaded Program Files
- GameNewsFiles
- GameStatisticsFiles
- GameUpdateFiles
- Internet Cache Files
- Memory Dump Files
- Offline Pages Files
- Old ChkDsk Files
- Previous Installations
- Recycle Bin
- Service Pack Cleanup
- Setup Log Files
- System error memory dump files
- System error minidump files
- Temporary Files
- Temporary Setup Files
- Temporary Sync Files
- Thumbnail Cache
- Update Cleanup
- Upgrade Discarded Files
- User file versions
- Windows Defender
- Windows Error Reporting Archive Files
- Windows Error Reporting Queue Files
- Windows Error Reporting System Archive

How To Ping With Date and Time To TXT File Using CMD
There are occasions where you will need to know How To Ping With Date and Time To TXT File Using CMD and a few Windows Ping commands can help. This will use a provide a date and a timestamp the result of each ping, with a bit of effort you can get it to do that. It’s quite useful if you specifically need to use the Windows Ping command.
ping -t patrickdomingues.com|cmd /q /v /c "(pause&pause)>nul & for /l %a in () do (set /p "data=" && echo(!date! !time! !data!)&ping -n 2 patrickdomingues.com>nul" >C:\ping\pingtest.txt
The above will continuously ping the address with a time and date to a output log file which in this case is called pingtest.txt , press Ctrl+C to end the session. If you do not need an output file remove the redirection to an output file string if you want to show the results in the … Read the rest

Kaseya Script To Run Patch My PC
Kaseya does an okay job to deploy software patches but we we decided it was best to create a Kaseya Script To Run Patch My PC.
This simple script grabs the latest Patch My PC from the developers website and places it into the kworking folder on the users workstation or server. The software has a string parameter to run as the System User to scan the entire system for installed apps and afterwards it will install the latest software Patch silently.
To automatically deploy this script on a scheduled basis, within Kaseya we used Policy Management and configured a new Scheduled policy to run this Patch my PC script every week.
Below you can see the Kaseya Script to run the Patch My PC. I also provided the download link for it.
<?xml version="1.0" encoding="utf-8"?> <ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting"> <Procedure name="Patch My PC" treePres="3" id="136611930" folderId="980255113206922" treeFullPath="myProcedures - [email protected]

How to install VMware tools on CentOS 7
VMware Tools is one of important components for virtual machine (VM) in order get excellent performance. It is a group of utilities that help to enhances the overall performance of the virtual machine’s guest operating system (OS) and improves management of the VM. Below steps shows how to install the VMware Tools on CentOS 7
How to Install VMware Tools ?
open-vm-tools is an open source implementation of VMware Tools from third parties and contains utilities that enhances virtualization management, administration and functions of the virtual machine in VMware environments.
root# yum install open-vm-tools
Without the VMware Tools, guest OS performance will lacks some of the important functionality.
- PowerShell Script to Force Uninstall Umbrella Roaming Client
- How to Install Moodle on a Ubuntu 24.04 VPS with a Scripted Guide
- Automating System Updates with Unattended-Upgrades on Ubuntu
- How to Add a Large Disk Partition as Storage in Proxmox VE
- How to