Import Export Chrome Passwords

Password Export

  1. “Click the Chrome menu    in the toolbar and choose Settings.
  2. Click Passwords.
  3. Click    above the list of saved passwords and select “Export passwords”.
  4. Click “Export passwords”, and enter the password you use to log in to your computer if asked.
  5. Save the file to your desktop.”


Password Import

“Just follow these steps:

1. Open a new tab

2. In the URL type “chrome://flags” (w/o quotes)

3. Search “password import”

4. Click the dropdown and select Enable

5. Click the “Relaunch now” button in the lower right (desktop…not sure on mobile)

6. Click the “…” menu in the uppper-right corner

7. Click Settings

8. Click Passwords

9. Next to Saved Passwords there is another “…” menu, which now has the Import option.*** It only has an option for .csv files”


Backup all GPOs in Domain

As long as your user account that you’re signed in as is a member of the Domain admins group this command can be run from a terminal joined to the domain.

Backup all GPOs in Domain

Open powershell and use the following command:

PS C:\> Backup-Gpo -All -Path "\\Server1\GpoBackups"

Restore all GPOs in Domain

Use the “Restore-GPO” cmdlet.

PS C:\> Restore-GPO -All -Domain "" -Path "\\Server1\Backups"

Recover a specific GPO


Microsoft Office Device-Based or User-Based License

Microsoft essentially has 2 types of Office licenses for the latest versions of the Office Suite. However, it is important to note some of the distinctions between the 2 different software programs. One of the major differences is the ability to use the cloud-based apps and integrations.

Office 2019 Home & Business – Device based license – $250 Perpetual

You can essentially think of this as Office 365 minus cloud features. You still have the usual office apps Excel, Word, PowerPoint, & Outlook. The benefit to this version is that you can have a domain-joined PC that multiple employees use and be able to recycle the license because only 1 user uses the device at 1 time.

Office 365 – Individual License $12.50 per user, per month

You can essentially think of Office 365 as Home and Business (2019 or latest version) + cloud features. Latest version because it would be based on the most recent base version.

That comes out to $150 per user annually. If comparing price-wise to office Home and business then looking at the release dates and time ranges between versions gives us a clue to the value.

Microsoft Office 2016 was released in 2015 and 2019 was released in 2018. Assuming that you upgrade your office version when a new one is released (for the most part this is best practice) Take 2018 – 2015 = 3 years. If H&B costs $150 * 3 years = $450. Everything is a better price than the H&B version until part way through the 2nd year where you will see a break-even if you went the H&B route. Since you’re taking a loss eventually with the O365 license it is important to be utilizing the value of the license such as one user with many devices and to be actively utilizing the cloud based features.

I’m only referring to the “Business Premium” which is now called “Business Standard” which it should have always been called since that was the minimum version to include the desktop apps. For a myriad of reasons I wouldn’t recommend the “Business Essentials” as well as the fact that it only provides the web apps.

This is a very good way to go if you have remote workers or a worker who works from the office and at home. In essence, the best scenario for this license is 1 user and many devices such as a Laptop, cell phone, and desktop. This is where you will see the most value from this license type. Although I have licensed specific users that only have 1 device due to the business need of that individual user to have access to specific cloud features such as SharePoint or OneDrive.

Here is a decision list for device or user based licensing. The first value is the number of users and the second value after the colon is the number of devices that user will use. M = many. For example, a one-to-many relationship is 1:M.



Get Microsoft Office Home and Business 2019


Get Microsoft Office Home and Business 2019


Get Office 365


Volume Based licensing of H&B or Office 365 for each user.

Removing the GUI from Ubuntu

Repost of source:

To Remove the Ubuntu Default GUI:

sudo apt-get -y purge ubuntu-desktop
sudo apt-get -y purge unity gnome-shell lightdm
sudo apt-get -y remove ubuntu-desktop
sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean
sudo apt-get purge ubuntu-desktop -y
sudo apt-get -y clean
sudo apt-get -y autoremove
sudo apt-get -f install

Installing the GUI:

sudo apt-get install ubuntu-desktop

Enable Remote Registry


psexec.exe \\host cmd.exe
winrm qc

Enable GPO to allow scripts

Or Manually set execution policy

Set-ExecutionPolicy -Unrestricted

Reset execution policy when done

Set-ExecutionPolicy -Restricted

Powerhsell Script – Enable Feature

#requires -RunAsAdministrator
#requires -Version 3.0
Function Enable-RemoteRegistry {
    This will enable the remote registry service on local or remote computers.
    For updated help and examples refer to -Online version.
    This will enable the remote registry service on local or remote computers.
    For updated help and examples refer to -Online version.
    Name: Enable-RemoteRegistry
    Author: The Sysadmin Channel
    Version: 1.0
    DateCreated: 2018-Jun-21
    DateUpdated: 2018-Jun-21
    For updated help and examples refer to -Online version.
        [string[]]  $ComputerName = $env:COMPUTERNAME
    BEGIN {}
        Foreach ($Computer in $ComputerName) {
            try {
                $RemoteRegistry = Get-CimInstance -Class Win32_Service -ComputerName $Computer -Filter 'Name = "RemoteRegistry"' -ErrorAction Stop
                if ($RemoteRegistry.State -eq 'Running') {
                    Write-Output "$Computer is already Enabled"
                if ($RemoteRegistry.StartMode -eq 'Disabled') {
                    Set-Service -Name RemoteRegistry -ComputerName $Computer -StartupType Manual -ErrorAction Stop
                    Write-Output "$Computer : Remote Registry has been Enabled"
                if ($RemoteRegistry.State -eq 'Stopped') {
                    Start-Service -InputObject (Get-Service -Name RemoteRegistry -ComputerName $Computer) -ErrorAction Stop
                    Write-Output "$Computer : Remote Registry has been Started"
            } catch {
                $ErrorMessage = $Computer + " Error: " + $_.Exception.Message
    END {}

Enable Remote Registry via CMD CLI

sc \\EXAMPLE-PC  config remoteregistry start= auto

Remove the hostname “\\EXAMPLE-PC” if already performing remotely.

sc \\EXAMPLE-PC start remoteregistry

Open Regedit, click file, connect to network registry, then enter the PC in your domain that you want to administer.

Delete files older than X days with Powershell

Change the folder in the variable $folder to the directory of your choice.

To specify dates behind today’s date change the (-180) to however many days you need (-7) is 1 week.

$Folder = "G:\Downloads"

#Delete files older than 6 months
Get-ChildItem $Folder -Recurse -Force -ea 0 |
? {!$_.PsIsContainer -and $_.LastWriteTime -lt (Get-Date).AddDays(-180)} |
ForEach-Object {
   $_ | del -Force
   $_.FullName | Out-File C:\log\deletedlog.txt -Append

#Delete empty folders and subfolders
Get-ChildItem $Folder -Recurse -Force -ea 0 |
? {$_.PsIsContainer -eq $True} |
? {$_.getfiles().count -eq 0} |
ForEach-Object {
    $_ | del -Force
    $_.FullName | Out-File C:\log\deletedlog.txt -Append

The out-file command writes all discovered filenames that are deleted and writes it out to a log file.

If you’re feeling up to it, now this script needs a built-in log cleanup to remove all of the old entries in the log file.