So you want to delete an old user that was part of a Domain from a Windows 10 machine: Two ways to do this: Search -> This PC -> Right click -> Properties -> Advanced system settings -> Advanced Tab -> User Profiles -> Select user -> Delete or Start -> Run -> sysdm.cpl -> Advanced Tab -> User Profiles…
Category: Tips and Tricks
Command to end Unifi service
Error:unifi is still running and cannot be installed Run this command using command promp copy and paste each line in a command prompt window and press enter.cd “%UserProfile%\Ubiquiti UniFi\”java -jar lib\ace.jar stopsvcjava -jar lib\ace.jar stop Stop mongod.exe in task manager before (re)installing If this fails, stop all processes related to Java. If you want a batch file, open notepad, enter…
Error when expanding partition on CentOS Linux on a Hyper-V virtual machine.
Error when expanding partition on CentOS Linux on a Hyper-V virtual machine. Error creating partition on /dev/sda: Command-line `parted –align optimal –script “/dev/sda” “mkpart \”\” ext2 ******MiB ************b”” exited with non-zero exit status 1: Error: The Backup GPT table is not at the end of the disk, as it should be. This might mean that another operating ystem believes the…
O365 – Email Migration link
When trying to migrate emails from IMAP, POP, etc you get the an error in O365 Admin Center. I was able to complete the transfer via this link: https://portal.office.com/onboarding/mailsetupadvisor#/
Send an Email Using Command Prompt or Batch File Script with PowerShell
This will allow you to to call a powershell script from a batch file that creates and sends an email. You will need: SMTP Outgoing Server SMTP Outgoing Credentials Apply this line to any Batch file line. Our example: robocopy C:\Data D:\Data /L /MIR /Z /Copy:DAT /DCOPY:T /J /mt /tee /r:1 /W:1 /ETA /xd “$RECYCLE.BIN” /log+:”C:\RCLogs.txt” PowerShell.exe -NoProfile -ExecutionPolicy Bypass…
Disable Windows Anti-Malware Service Executable
Microsoft is driving me crazy with these “forced” features they have been including with windows. An example of this is Window’s Anti-Malware. It runs in the background scanning everything you do. This can be good for an average users, but for someone that wants to transfer 12 TB from a USB device to a Network share, it well, slows it…
Understanding the Differences between Wiping and Formatting Your Hard Drive.
One of the questions I get most often, is what to do with old hardware. With this question, the primary concern is how to format the drive before they discard it. Most people know they need to format their drive, but they don’t know that just formatting the drive leaves it vulnerable to data recovery solutions, and who knows what…
Disable Clutter through O365 Admin Dashboard with Powershell
Disable clutter on O365 Admin Dashboard Step 1: Run Powershell ISE as Administrator Step 2 – Run: Set-ExecutionPolicy RemoteSigned A popup will occur, choose “Yes to All”. Just make sure you know what you are doing before proceeding. Step 3 – Enter username and Password $UserCredential = Get-Credential -It will not let you know if your credentials are wrong. Step…
Setting up custom App Passwords in Gmail for smtp email notifications in pfSense
Setting up custom App Passwords in Gmail for smtp notifications in pfSense I needed to setup Custom notifications for pfSense, which requires an smtp account. This process will work for most systems that you use to send out emails via smtp. I chose gmail for this, gmail will block the sending of smtp accounts through anonymous sources, unless you setup…
Upgrading Team Foundation Server, TFS 2010 to TFS 2017
Upgrading TFS 2010 to TFS 2017 and SQL Server 2008 to SQL Server 2016 The Problem We need to upgrade a physical server, we will call it “Tcode”. Tcode has Server 2008 32bit installed with TFS 2010 and SQL Server 2008. Since our machine is a production machine, I need to do this gracefully. With so many different “ways” to do…