Search This Blog

Sunday, April 30, 2023

Windows 11: Change boot logo

It all started with me wanting to change the boot logo of my Windows 11 computer.

The EFI (extensible firmware interface) is a protected, FAT32-drive with a size of 100 mb that usually is invisible to you in the file explorer. You can however see the partition in Disk management which you access as administrator through the program called Computer Management. At the end of the blog post I will show you how you can access it through PowerShell if you are curious. Always treat this partition with great respect.




My research led me to HackBGRT and here you are offered software that temporarily maps your EFI drive so that you can change the boot logo for one of your own.

How to design the logo


The requirement for the logo is that you have a 200 x 200 pixel image in the format of a 24-bit BMP image. It requires the name splash.bmp and that is has a black background if you want to achieve a "transparency effect", since the boot up background on most computers is black. 

In my experience it was better to have an icon that was wide on top of the square background, rather than trying to have a square icon as the image still became stretched out.

Use HackBGRT to change boot logo


  1. Download the .zip and extract it in a suitable folder.

  2. Perform a backup of your system through a system restore point, this is because changes in the EFI can destroy your boot up process.

  3. Make sure that you've created the image and placed it in a folder that you remember. You also need Paint installed on your computer.

  4. Run setup.exe in the HackBGRT folder, accept the UAC prompt and then press I to install the logo.

  5. Close the "readme.txt" that pops up, this will now open Paint. Using Paint now go to file and select open.
     
  6. Now you should have a file explorer window from Paint open. Navigate to your custom logo location, copy it, navigate to "This PC" and you should find a new A: drive. Navigate to the following: A:\EFI\HackBGRT and then paste the custom logo. You are prompted to replace existing file in destination, confirm to continue.

  7. Close Paint, exit the setup.exe window and then restart your computer to see if it work.

To restore your logo back to the original you run setup.exe and use R instead. 

Access the EFI through PowerShell

First we need to turn the EFI partition into a visible drive so that it becomes easier to work with.
  1. Open an elevated PowerShell window (run as administrator)
  2. Write Diskpart to activate the Diskpart program within PowerShell
  3. With Diskpart now running use the command and write list disk. This displays your available disks. Take note of with number your main disk has, usually 0.
  4. In order to target the right disk, write select disk 0 and get confirmation.
  5. In order to target the EFI partition we need to identify it. Write list partition and take note of the number, it is labeled as system type and has the size of around 100 mb. In my case it is partition number 1.
  6. To target the EFI partition we now write select partition 1 and get confirmation.
  7. In order to actually turn it into a visible drive write assign letter=E or another letter that is not in use.
  8. Write exit in order to leave the Diskpart program in the command line.
Continue in the elevated PowerShell window in order to navigate to the EFI drive, you can't access it through the file explorer as it is a FAT32 drive and regular access permissions doesn't seem to work there.
  1. Now that you know that the E: drive is the EFI you can use it for the following command.
  2. Write Set-Location "E:\EFI\" in order to step into that location.
  3. Write Get-ChildItem to list which subfolders exists within that location.
  4. Continue to explore subfolders using Set-Location and Get-ChildItem or their aliases sl and gci both which are easier to write but not recommended to use in scripts that are shared.
  5. Write exit to close the PowerShell window when you are done looking around. 




Thursday, April 13, 2023

ChatGPT: Generating business ideas

As the rest of the internet citizens I've started looking into ChatGPT and the Bing AI more and more.

Today I wanted to see how it can help me generating business ideas, in this case I used videos on YouTube as an example.

The content


In essence I sent three prompts to it that covered the basics. My first prompt was:

I want to create a five part series (each episode around 15 minutes) on youtube.
The course will be about Powershell and target towards beginners.

Give me 5 topics that these 5 episodes could be about.

My reasoning behind this was that it had to be a reasonable amount of work for me as a person, you might have a full time job or family to take care of for example. I also used something that interests me as a central topic for the video lessons and I made sure to be specific with my target audience.

ChatGPT generated 5 different lesson ideas that I then can curate and improve upon, depending on what I would like to teach and my skillset.

These are the lessons that was suggested to me:

Episode 1: Introduction to PowerShell - In this episode, you could cover the basics of PowerShell, including what it is, why it's important, and how to use it. You could also introduce the PowerShell console and some basic commands.

Episode 2: Variables and Data Types in PowerShell - This episode could cover how to use variables in PowerShell and the different data types that are available. You could also demonstrate how to manipulate variables in PowerShell, such as performing arithmetic operations and string concatenation.

Episode 3: PowerShell Cmdlets - In this episode, you could introduce PowerShell cmdlets, which are pre-built commands that can be used to perform specific tasks in PowerShell. You could cover some common cmdlets and demonstrate how to use them.

Episode 4: PowerShell Scripts - This episode could cover how to create and run PowerShell scripts, which are collections of PowerShell commands that can be executed as a single unit. You could demonstrate how to create a simple script and run it from the PowerShell console.

Episode 5: PowerShell Modules - In this final episode, you could introduce PowerShell modules, which are collections of related cmdlets, scripts, and other assets that can be shared and reused. You could cover how to find and install modules, as well as demonstrate how to use some common modules for tasks such as managing Active Directory or working with Azure resources.

The recording and editing software

In order to do the recording I need software that is free and can add voice over later on in the editing phase. After specifying my requirements to ChatGPT it brought me a suggestion of a software I hadn't heard about before. It is called OpenShot and I downloaded it and I'm going to test it during the day. This is what ChatGPT had to say about it:

One free video editing software that you can use to record your PowerShell lessons and add a separate voiceover track afterwards is OpenShot Video Editor.

OpenShot is a free and open-source video editing software that offers a variety of features, including the ability to add multiple audio and video tracks, transitions, effects, and titles. It supports many popular audio and video formats, so you should be able to import your recordings without any issues.

To add a separate voiceover track, you can simply record your audio separately using a microphone or audio recording software, then import the audio file into OpenShot and place it on a separate audio track. You can then adjust the volume levels and timing to sync the audio with your video footage.

Overall, OpenShot is a good option for beginners who are just getting started with video editing and want a user-friendly interface that is easy to learn.

Monetizing a YouTube channel

It had been a while since I saw the requirements to monetizxe your channel on YouTube. ChatGPT summarized the requirements like this:

- You need 1000 subscribers.
- You need 4000 of watched time in the past year.
- You need to meet the Terms of Service and other agreements of the community.

And this is how you start monetizing the channel:

- Go to the YouTube Studio dashboard.
- Click on "monetization" in the left sidebar.
- Follow the steps to accept the conditions of the YouTube Partner Program (YPP).
- You need an AdSense account and like it to your channel, this will give you payment for ads that are viewed on your videos. You will receive payments when your application is approved.

You can also earn money on YouTube through merchandise, affiliate marketing, sponsors and YouTube Premium revenue.

Thursday, April 6, 2023

Review: NOS K-600 Gaming Keyboard

Overview

Recently my second hand bought NOS K-200 Mini broke when I was vacuuming it and a key broke when I tried to remove it so I had to buy a new for my computer. 

First I went and got a NOS C-650W Compact it had smooth key presses and an option for wireless connection. However, it was missing easily accessed keys that I usually use when I play World of Warcraft, so I returned the keyboard and finally got myself a NOS K-600 Keyboard Core RGB. Which is also the keyboard I will review.

It uses a fixed cable to power itself which leads into a regular USB-connector, which I use connected to my Surface Dock 2. The response time is great and it's not excessively noisy when writing, but it is noisier than C-650W for sure and the key presses aren't as smooth. Compared to K-200 it is a bit smoother in both noise and key presses. Furthermore the keys are relatively elevated, compared to flatter keyboards.

The keyboard is pretty much a full size keyboard, it has a numpad, a media control and some quick access buttons top left. I saw a similar model where these hotkeys were too closely located to the "esc" button. Which can cause issues in gaming if you accidentally start up other programs.

A unique feature for this keyboard is the phone holder at the front, it can keep my Xiaomi Redmi 10C standing up right (but it seems to struggle a bit). I can unfortunately not have the phone sideways due to the case I use for the phone.

RGB light and functions

The keyboard also has a RGB backlight which both looks good and helps you to navigate when it's dark in the room. You can use the Fn combined with the following buttons to control the light.

M1 = constant or pulse light.

M2 = to choose either left or right moving waves of light.

M3 = toggle between fixed lights, such as cyan, violet, pink, white, red, yellow, greenish yellow ("chartreuse") and green.

M4 = change between different pulses of color.

Combine Fn with the arrow keys to control intensity of the light and the speed of the pulses.

The media center has the classic "stop", "previous track", "next track" and "play/pause" icons. It also has a scrolling wheel that allows you to increase and decrease the volume. I like that feature a lot, it's easier to use than repeatedly pressing a volume up/down button. 

There is also a way to program your own light setup using the G1 button (PgUp).

If you press Fn + Windows Key, you lock the key. Press the combination again to unlock it.

You can switch WASD for arrow keys using Fn + W, and once more to turn the function off.

Overall impression

The keyboard measures 45 cm wide and close to 18 cm long, including buttons its almost 4 cm tall on the tallest place. There is a lot of extra unused space on the keyboard and it could in my opinion be flatter.

It has a nice feel to it though, combining the classic "plastic" feel of office keyboards, with the functionality and looks of a gaming keyboard. From a writing point of view I transitioned to it easily, likewise with the gaming.

It costed roughly 500 SEK and you get what you pay for so to speak, overall a decent keyboard that performs well and takes up a bit of space.


Sunday, April 2, 2023

Review: Microsoft Edge

So it is time to take a look at  Microsoft Edge and give it a chance as my daily driver browser.

I'm traditionally and since many years a avid Firefox user. It has been my primary web browser since many years now, it feels like I have used Firefox for the past 10 years at least.

Design, speed, privacy has been a few of the keywords that made me choose Firefox above Chrome, until recently it has been my go to browser in my private life. For work I've used Microsoft Edge for the past three to four years. Let's be honest, a lot of the reason why I've stuck with Firefox is also habit.

Some things I liked with Firefox, that is not necessarily exclusive to that specific browser is the sync between computer and phone. It also has a generally nice password manager that is easy to use. It also felt good standing up to the big corporations. As of late I also discovered the nightly version, which basically keeps the browser with the latest consumer available updates at the expense of a few bugs (but seeing as it is my private browser it doesn't impact my browsing experience).

I'm not leaving Firefox, but I might be moving over to Microsoft Edge and here is why:

With the recent rise of AI-based search engine improvements for Bing, it has created a really nice search experience. This in conjunction with the Microsoft Rewards has become a feedback loop. I use the search more and sometimes make use of the AI chat to get the right information. From the reward redeeming page I could calculate (based on one product) that 145 points equals 1 SEK. Remember that you also get points from searching in your phone, the easiest way to get points is to just make Bing your default so that the point keeps stacking up "passively".




Since I am making it my main browser I also had to import favorites and passwords, something which you easily do these days. Remember to also start syncing your data so that it is accessible in your phone.

Converting to a new browser religion also includes using the mobile app. Here I opted for the dev channel, simply out of curiosity. This is also where I have had the most issues with Microsoft Edge. The starting page is giving me the wrong temperature unit (showing Fahrenheit when I want Celsius) and there are also no extensions for the phone app. Which means that you can't use an adblocker like you can on Firefox mobile. So Firefox mobile is still my go to app when it comes to listening to long Youtube videos. On the computer there are a few addons and themes for the Edge browser, but you can also use the Chrome Web Store since the addons and themes are compatible with the chromium based browser Edge.

It also feels better when the choice is mine, and it is not a preloaded default. Setting Edge as my default and go to browser was my decision. So far I'm giving it 8/10 compared to 10/10 for Firefox. It seems marginally lighter on the resources as well.

Hope you found the review interesting, thank your for reading it.