Search Results for scribbleghost

Capture a WIM file with Windows PE

Objective In this guide I am making some assumptions. We have already installed Windows and spent a long time customizing it to fit our needs. Then we have made a sysprep, (meaning we have made the Windows installation ready for…

Solid background colors for Windows

Ever since Windows 95 came out I have always liked by the relaxing teal background, which I believe is something close to a color code of `#008080. Since then most desktop nowadays usually have a fancy background picture. But for…

My custom settings for Microsoft Deployment Toolkit

If you use Microsoft Deployment Toolkit (MDT) to deploy custom Windows images to computers, you might already be familiar with “customsettings.ini”. The little configuration file that can automate the custom Windows installation. Personally I use this for deploying custom-built Windows…

Add local fonts to a WordPress theme

Let’s say you want to add some local fonts to your self-hosted WordPress site. Perhaps some you have made yourself or you just want the good old Helvetica. Convert your fonts You will need to convert your font to the…

Create a Windows PE flash drive

Advantages of making a Windows PE flash drive Why would you need one? You might be thinking why can’t I just use Windows Media Creation Tool to make a Windows installation flash drive? Well, you can, but if you are…

Google Chrome GUI white menu fix

Problem: When you click on the menu button in Google Chrome, a white box appears instead of the menu. This often happens in a virtual machine. Solution: Turn off “Use hardware acceleration when available” and relaunch Chrome.

Add text to a video with FFmpeg

If you want to add text to multiple video files in a bulk operation, FFmpeg is the way to go. You don’t want to manually edit a bunch of videos just to add the same stuff each time. Automation for the win! In this FFmpeg example, we will add some text to this video clip. As you can see, no text yet. We want to add “hard coded” text (that cannot be removed after it is added). We are not talking subtitles/captions. Here is the command, but hold on for a sec… The following command has been made simpler to read by breaking the long command into multiple lines. If you use this command you should remove all ^-symbols, so that everything is displayed in one line. Also don’t miss the spaces in there. This command is made for a Windows environment so it might look a little different if you are on another OS. You can also make the text with a little better position and padding like this: This is the result: Sources: https://superuser.com/questions/939357/ffmpeg-watermark-on-bottom-right-corner

Restore deleted files from SharePoint Online

The easiest way to restore files in SharePoint Online is obviously just to restore the deleted files using the web interface as Microsoft recommends. However, that won’t work if you need to restore 1000-plus files. Basically, the restore process will just get stuck, and you will probably die of age before anything happens. 💀 PowerShell to the rescue! 🦸‍♂️ Install the SharePoint Patterns and Practices (PnP) cmdlet Connect to the SharePoint site Notice the sites/rooms in the URL. You need to connect to an actual site on your SharePoint, not just the root of the site. In other words, you need to know from which site the files were deleted from. List all deleted items in the site “rooms” List all items deleted by a specific user Restore all files deleted by a specific user The restore process will take a while. In my case, I restored about 1000 files in about 20 minutes. Note that you will not get a restore log, but you can of course use the above command to check if files disappear from the recycle bin. If files exist on the server you will get error messages, which is fine. This just means that the deleted file already exists, or a newer file exists. Sources: Restore Recycle bin SharePoint Online with PowerShell