Category Archives: Windows

Micro$oft Windows

Using Powershell to get installed Edge and Chrome extensions

I want to start off with acknowledging that I know, but don’t have the ability, to manage Google Chrome in an organizational setting through Google Cloud which produces nice reports of extensions installed — and this can even be done with M365 Defender. My dilemma is that for some networks I do not have the ability to do this, so I needed an alternative way. This is what I’m developing. I found an article on Spiceworks that someone created a PowerShell script already while I was Continue reading →

Windows Resource Protection could not perform the requested operation.

Running an sfc /scannow on a Windows Server 2019 Standard server, at about 76% it failed with the following message. Windows Resource Protection could not perform the requested operation.Edit Looking through %Windir%\Windows\Logs\CBS.log I see the following: 2023-08-17 15:34:41, Error CSI 00004fa8 (F) c0000011 [Error,Facility=(system),Code=17 (0x0011)] #38088700# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysReadFile(h = cd4 ('\Device\HarddiskVolume2\Windows\WinSxS\amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.831_none_5892c02f26f780e5\MSFT_MpComputerStatus.cdxml'), Continue reading →

Slow Performance VMware Workstation 17.0.x – Windows 10 / Windows 11

Noticed horrible performance using VMware Workstation 17 on my system. I was running Hyper-V side-by-side, so I decided to nuke Hyper-V and the subsystems from that. Removed the Hyper-V, Virtual Machine Platform, and Windows Hypervisor Platform from Windows Features. Checked to see if Memory Core Isolation was disabled, and it was. Start > Core Isolation Disabled power throttling for the VMware process: powercfg /powerthrottling disable /path "C:\Program Files (x86)\VMware\VMware Continue reading →

Change Windows network share permissions from command line

Grant-SmbShareAccess -Name ShareName -AccountName Administrators -AccessRight Full -ForceGrant-SmbShareAccess -Name "Brother DW2710 series" -AccountName Everyone -AccessRight Change -Force It appears that there is no pre-existing command line tool for managing permissions on existing shares beyond the initial setup. However, you can accomplish multiple grants if temporarily taking the shares offline is not a concern. In such a case, you have the option to utilize the following approach: NET Continue reading →

List top processes using memory from Windows commandline

This seems to do the trick for listing processes by memory usage. I'm most interested in the top 9 processes (I have to figure out why the regexp isn't working in findstr for anything over 10 in a range like [1-15]. tasklist /NH | sort /R /+65 | findstr /N . | findstr "^[1-9]:" Here's an example output. C:\Users\rjk>tasklist /NH | sort /R /+65 | findstr /N . | findstr "^[1-9]:" 1:dwm.exe 1640 Console 1 4,232,012 K 2:OUTLOOK.EXE Continue reading →