Author Archives: Robert Paegelow

About Robert Paegelow

IT-Consultant at Infrabit AB. Working alot with Microsofts cloud platform and Windows 10.

Work Folders Troubleshooter Software

Sharing some software with you today!

You can use this very very simple tool to search for specific error codes that recently occured on your or a remote computer (administrative rights is required).

This might be useful for those who aren’t comfortable using event viewer or if you just have a lot of work folders errors, instead of remotely looking through event viewer.

I don’t really except anyone to use this, but i’m putting it here so that i can use it at a later time  if needed. (= never)




  • Computername: Your own computer, or a remote
  • Keyword: Free search basically, for example you can type in error, or warning
  • Id: Event ID, filter out only specific ID’s that you know you want to find.
  • Days back: History, only show e.g 5 days of history


Google Nest Audio – Should you get it?

Google unveiled its new speaker at their hardware event – Google Nest Audio!

I myself own 3 Nest minis (2nd gen) & a Google Nest Hub, and i love them! The only thing i wish

Credit: Google

was better, is the bass. But to be fair, it’s a small speaker, you probably cannot get better bass from a speaker that small.

Google says that the Google Nest Audio has 50% more bass and 75% more volume than the original Google Home speaker.


According to a Youtube video the bass isn’t that heavy on the Google Nest Audio, it’s probably way better than the Nest mini ofcourse, but if you want that really nice bass, you would probably want to get the Google Home Max instead.

With that said, i think this will be a great product in between the Google Home Max and Nest mini (and Google Home).

I will probably don’t buy one right now since i already have a couple of Google speakers at home, but if i need to add more speakers to the house in the future, i will probably go for this one.

Price is currently about $99, which i think is fair actually.

What do you guys think about this speaker? Is this the first smart-speaker you’re going for?

Comment down below

How to add Cleverio lights to Home Assistant

Hi guys, long time since posting, so here is a simple little guide!

Today i’m going to walk you through the (very basic) process of adding Cleverio lights into Home Assistant, it’s very straight forward, thought that i could create an article for this so more people know that it works. Not everyone affords Philips Hue, right? 😉

Can be any Cleverio light, GU10, E27 or E14, in my case i will be using GU10 RGB, which were very affordable, about $8.5.

We will begin by adding the light to an app called TuyaSmart (Link -> android, iOS). Why should i install Tuya instead of SmartLife that Cleverio actually recommends you may ask? Because SmartLife app isn’t compatible with Home Assistant unfortunately. (it’s basically the same app with a different skin)

Anyway, here we go:

  1. In TuyaSmart app, go to lighting and click on Lighting (Wi-Fi) (on Swedish belysning) (register an account first obviously)


2. Follow the instructions on-screen, which basically is, wait for the light to flash.

3. When the light is successfully added to Tuya go to Home Assistant

4. In Home Assistant, go to Configuration > Integrations > click the + icon > Search for Tuya > Add

5. Finished!


Couldn’t be more simple, right?


Questions? Comment down below




[PS] Top Ten Simple Powershell commands every IT-admin should know

Welcome everyone!

Today i’m going to share my top 10 (beginner-friendly) Powershell commands that i use quite frequently.

I hope that you will find these commands useful.

 1. Connect to a remote computer:

Enter-PSSession -ComputerName "Computer1"


2. Get events from EventViewer:

Get-WinEvent -computername "Computer1" -FilterHashTable @{ LogName = "System"; StartTime = "2020-02-12"}


3. Get OS BuildNumber:

Get-WmiObject -Class Win32_OperatingSystem -ComputerName "Computer1" | Select BuildNumber


4. Get OS ReleaseID:

(Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion’).ReleaseId


5. Get values from the registry:

Get-ChildItem -Path 'HKLM:\PATH\TO\KEY'


6. Set values in the registry:

New-ItemProperty -Path "Registry::\HKEY_CURRENT_USER\PATH\TO\KEY\" -Name 'Flags' -PropertyType DWORD -Value "1337"


7. Show the latest installed updates (KB’s):

(Get-Hotfix | sort installedon)


8. Get serialnumber (CimInstance):

(Get-CimInstance -ClassName Win32_BIOS).Serialnumber


9. Get Bios version (CimInstance):

(Get-CimInstance -ClassName Win32_BIOS).SMBIOSBIOSVersion


10. Get computer model (CimInstance):

(Get-WmiObject Win32_Computersystem).Model


Comment down below if you have any questions! 🙂

Home Assistant – How to configure the SMTP component (Gmail)

Morning guys!

Today im going to show you how to configure the SMTP-component so that you can send e-

mails from Home Assistant! My other article shows some examples of what you can use the SMTP-component for.

  1. The first thing that you have to do is enable the SMTP-component – start by copying the code below and add it to your configuration.yaml file.

Make sure to change sender, username, password and recipient before you save your configuration. If you use another provider than gmail you will have to change the smtp-server and port also.

Another heads-up is that if you have 2-factor authentication enabked on your Google account you’ll need to create an app password to use instead of your ordinary password – how do i create an app password?



  - name: gmail
    platform: smtp
    port: 587
    timeout: 15
    encryption: starttls
    password: SECRETPASSWORD
    sender_name: Home Assistant


2. Restart Home Assistant (make sure that you don’t get any errors after the reboot)

Done! Now you can use this in your automations to notify you about stuff!

This article covers how you can send notifications base on the state of your robot vacuum



Home Assistant – Roborock Automations

Hello Roborock enthusiasts!

In this little guide i will share with you how to get the most basic notifications from your Roborock vacuum using automations.yaml in Home Assistant!

I will add more automations as i keep using the Roborock S5, so stay put on some more useful automations!


You will need the following:

Make sure to change notify.ios_device to your own notification service.

And then add the following to your automations.yaml file and restart Home Assistant.

Cleaning started:

- id: 'Vacuum_started'
  alias: Vacuum Started Notification
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    from: docked
    platform: state
    to: cleaning
  condition: []
  - data:
      message: Roborock started to clean!
    service: notify.ios_device

Cleaning completed:

- id: 'Vacuum_complete'
  alias: Vacuum Complete Notification
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    platform: state
    to: docked
  condition: []
  - data:
      message: Cleaning complete - Charging
    service: notify.ios_device


For more information about how to get started with Home Assistant click the link below:

Office Addin Manager


Once again i’ve created another Powershell (XAML) application.

This time i’m releasing Office Addin Manager, which allows you to manage Office addins on your own or a remote computer. As always, changing registry settings on a remote computer requires you to have administrative permissions on that computer.

With this tool you can in a quick manner change the load behavior of Office addins no matter the Office application, no more messing around in regedit or manually open each Office application.

Office Addin Manager uses a number of different values to configure each addin to run with a specific behavior. Read more about load behavior values on



If you have any questions feel free to ask them below, i’m more than happy to answer them 🙂

AD Extractor – Extract members of AD group with a simple tool!

Morning everyone!

With the basic code from Vikas Sukhija i created this GUI around Vikas code. Mainly to help more people utilize his code (that aren’t comfortable around code), but also so that i could reduce the amount of clicks.

The full source is available here if you don’t want to download the .exe


What does AD Extractor do?

AD Extractor is using ADSI to search the AD. You can extract members from both security and distribution groups. There is also no problem with extracting computers and/or users from a group. I added a simple GUI so that you could export a complete list with just 2 clicks. You obviously need the appropriate permissions to run this program. As for now you can only export a list to .txt, but in the future i will add .csv support (if there is a demand for that)




If you have any questions or feedback you are more than welcome to post that in the comments below.

Have a great day! 🙂

[Registry] How to Restore Windows Photo Viewer in Windows 10

Hi everybody! 

Are you tired of the Windows 10 Photo app? Or simply want to change back to the old photo viewer?

In this post i’m going to show you how to get the Photo Viewer (formerly Windows Picture and Fax Viewer) back in Windows 10.

There are several articles out there that show you how to do this, some that i’ve tried worked, some did not.

Anyway, these registry keys is needed, and no reboot is required.


How it’s done:

  1. Download this .reg file (or copy/paste the raw code from pastebin)
  2. Unzip RestorePhotoViewer.reg
  3. Run the .reg file, and press Yes to continue
  4. Now you can associate images files with the classic Photo Viewer


I have only verified this to work in 1709 and 1803 only, comment down below what other release ids it works/doesn’t works on.

Modifying the registry could create problems on your computer, so please make sure that you know what you’re doing when running .reg files.

How to Reset the Color of the Command Prompt in Windows 10

Hi everyone!

Recently bumped into an issue regarding the classic command prompt (CMD).



CMD colors are changed so that you are unable to see the text, and cannot change back (for whatever reason)



Change the REG_DWORD DefaultColor to “7

HKEY_CURRENT_USER\Software\Microsoft\Command Processor
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Command Processor' -Name DefaultColor -Value "7"



Procmon saves the day!