Have you ever wondered which edition of Windows is installed on your computer? Knowing the Windows edition can be useful for various reasons, such as ensuring compatibility with certain software or identifying the features available on your system. With PowerShell, you can easily retrieve this information without having to dig […]
Powershell
Have you ever wondered if your computer’s Virtualization Technology (VT) is enabled or disabled? VT is an essential feature that allows your system to run virtual machines, which are isolated environments that can run different operating systems and applications. Knowing the status of VT can help you determine if your […]
Have you ever wondered about the Trusted Platform Module (TPM) version on your computer? The TPM is a hardware-based security component that provides cryptographic functions and enhances system security. Knowing the TPM version can help you determine the level of security and compatibility with certain features. Fortunately, identifying the TPM […]
Microsoft’s Windows Sandbox is a lightweight virtual machine environment designed to provide a secure and isolated environment for testing and running untrusted applications. It enables users to quickly launch and test potentially harmful software without affecting the operating system. This article will walk you through the process of enabling Windows […]
You can easily disable the MSiSCSI service with this simple line: $ret = Set-Service MSiSCSI -Status Stopped -StartupType Disabled if (!$?) {write-host (“Warning: $($error[0])”)} Else {write-host (“Successfully disabled Microsoft iSCSI Initiator Service (MSiSCSI)”)}
Quick script to Block Cortana on the Windows Firewall by using PowerShell: $path = "$env:windir\systemapps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe" If (Test-Path $path) { If ($(Get-NetFirewallRule -DisplayName DisableCortana)) { Write-Host("Firewall rule for 'DisableCortana' already exists") } else { New-NetFirewallRule -DisplayName DisableCortana -Action Block -Direction Outbound -Profile Any -Description "Blocks outbound network connections originated from […]
Recently I’ve ran into the situation where an SCCM (MECM) device needed to be migrated to Intune and the rule was that for AutoPilot to work the device must have: Bios Password Wiped Secure Boot enabled Recovery Partition enabled Factory reset to OOBE The Out of The Box Experience then […]
Small script which helps you enable DEP (Data Execution Prevention) wrote in PowerShell: # Script to enable DEP on clients with and without Bitlocker $script:ErrorActionPreference = "SilentlyContinue" $DebugPreference = "Continue" $ScriptPath = $MyInvocation.MyCommand.Path $ScriptDir = split-path -parent $ScriptPath $ScriptName = ($MyInvocation.MyCommand.Name).SubString(0,($MyInvocation.MyCommand.Name).Length-4) # Function to write Logfile Function Log($text) { […]
Simple script to disable NetBIOS over TCP/IP with PowerShell: $key = Get-ChildItem HKLM:\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces ForEach($nic in $key) { if (!(Get-ItemProperty $nic.pspath).NetbiosOptions -eq 2) { Set-ItemProperty $nic.pspath -name "NetbiosOptions" -value 2 Write-Host "Successfully set $nic\NetbiosOptions to 2" } Else { Write-Host "$nic\NetbiosOptions already set to 2" } }
The Quick Assist tool came in the past as a default executable which was located into the system32 folder of Windows. Starting with Windows 10 21H2, Microsoft decided to move Quick Assist into the Microsoft Store. The first issue we see is that Quick Assist was only placed in system32 […]
After I have did a small test lab for Azure Virtual Desktop, it was time to play a little bit with MSIX App Attach functionality that Azure offers. However, after my virtual machine was created, when I went into the host pool to add an MSIX package, the following error […]
Because of the workload and limited time to post on my personal blog, I’ve decided to do small little posts like this when I talk about different challenges that I personally, or some other colleagues in the industry faced during their working days. Today I want to have a look […]