Archive for the ‘Windows 10’ Category
Posted by jpluimers on 2023/08/08
Via Jan Gentleman, I learned
- about the Ctrl+⇧ Shift+⊞ Win+B shortcut on Windows 10 and 11 that restarts starts video driver
- that documentation is in [Wayback/Archive] Troubleshoot black screen or blank screen errors as
Action 1: Try a Windows Key sequence to wake the screen.
If you’re using a device with a keyboard connected to it, select Windows logo key + Ctrl + Shift + B. If you’re in tablet mode, press the volume-up and volume-down buttons simultaneously three times within two seconds. If Windows is responsive, a short beep will sound and the screen will blink or dim while Windows attempts to refresh the screen.
Via:
Later I found out it also is in Table of keyboard shortcuts – Wikipedia: General shortcuts
| Restart Video Driver |
Windows 10: Ctrl+⇧ Shift+⊞ Win+B[2][3] |
Also I learned how people order the modifier keys is varying.
–jeroen
Posted in .NET, Development, Power User, Software Development, Visual Studio and tools, Windows, Windows 10, Windows 11 | Leave a Comment »
Posted by jpluimers on 2023/06/02
If course you can configure Windows Optional Features using the GUI as for instance explained at [Wayback/Archive] How to manage Windows 10’s many ‘optional features | Windows Central.
However, I prefer command-line management.
About the only post doing the comparison of command-line mangement options I could find about is [Wayback/Archive] Different ways for installing Windows features on the command line – Peter Hahndorf and hopefully will be further updated in the future. It is dated 2015, but has been updated until at least Windows Server Nano.
I added one, and then rewrote the tool-set availability table in the post into this:
Read the rest of this entry »
Posted in Communications Development, Development, Internet protocol suite, Microsoft Store, OpenSSH, Power User, SSH, TCP, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Vista | Leave a Comment »
Posted by jpluimers on 2023/05/15
[Wayback/Archive] powershell – How to get the windows version with command line? – Super User (thanks [Wayback/Archive] harrymc!)
The value can be found under registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion inside the value named DisplayVersion.
The following PowerShell command will get it:
(Get-Item "HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('DisplayVersion')
–jeroen
Posted in Power User, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2023/05/11
I finally got annoyed enough to figure out how to disable the Windows 10 news (and weather) feeds.
At first I thought the solution in this post worked for Windows 11 as well, but re-testing in Windows 11 it does not or does not (or not any more: given so many new Windows 11 releases with ever changing functionality I’m not surprised).
Disable Windows news feeds for current user
Failure: just disabling the news feed will automatically get it reset by explorer.exe
Based on the below sources, I made this small batch file:
Read the rest of this entry »
Posted in Batch-Files, Development, Power User, Registry Files, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »
Posted by jpluimers on 2023/05/10
Sometimes, you want to restart the Windows explorer. This is already an exception case which you want to do when explorer hangs (for instance when taskbar icons do not respond any more), or has files locked which need to be modified. I described the latter in Inno Setup: Program Folder not showing up In Start > All Programs , with this very simple restart script:
taskkill /F /IM explorer.exe
start explorer
Even more exception is wanting to run explorer with a UAC elevated administrative token. I sometimes do this when moving around stuff from other users on the same computer without having them logged on (as that would lock the files or directories to be moved around).
The risk of running explorer under UAC elevation, is that any program you start will also start UAC elevated, so beware what you ask for…
This is how you start explorer under UAC elevation:
pwsh.exe -nol -noni -nop -w hidden -c "taskkill /f /im explorer.exe; start explorer -v runas -a /nouaccheck"
or if you run an older Windows version of PowerShell:
PowerShell.exe -nol -noni -nop -w hidden -c "taskkill /f /im explorer.exe; start explorer -v runas -a /nouaccheck"
These command-line options and verbs are used:
Time to explain a few:
Read the rest of this entry »
Posted in Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8.1 | 1 Comment »
Posted by jpluimers on 2023/03/28
Posted in *nix, *nix-tools, Communications Development, ConPTY, Console (command prompt window), Development, Internet protocol suite, OpenSSH, Power User, SSH, ssh/sshd, TCP, Windows, Windows 10, Windows 11 | Leave a Comment »
Posted by jpluimers on 2023/03/20
A while ago when applying KB5008212* through Windows Update, I got errors. It was odd, as until now, all other upgrades had worked fine.
Often Windows update errors are because of lack of disk space (I try maintain 10 gigabytes or more free space on virtual machines, but that sometimes fails because some software – despite user files being on a different drive – sometimes insists on filling the system drive).
This time, Windows Update would show 0x80073701, of course right after reaching 100%, but actually it was a 0x800f081f in disguise.
My usual modus operandi didn’t solve it (with a retry after every step):
- Reboot
- Cleanup of the system drive using built-in
CleanMgr.exe (Disk cleanup)
- Scan all corrupted system files and replace them from cache:
SFC /ScanNow (System File Checker)
- Cleanup and repair the Windows image using
DISM /Online /Cleanup-image /Restorehealth (Deployment Image Servicing and Management)
All failed, but in the last step, DISM would consistently show error 0x800f081f.
Even a local DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\Windows\WinSxS /LimitAccess would fail.
Each DISM run will actually log in two log files, and this is the trick to figure out what the next step would be.
Examples from my case:
Read the rest of this entry »
Posted in Power User, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2023/01/24
I’m not sure yet why sometimes my system is lagging with the combination of these four circumstances on a Windows 10 system with 32 gigabyte of memory:
- Process Explorer showing low (less than 10%) CPU usage
- Process explorer showing Memory Compression using more than 2 gigabytes of Working Set
- System Commit being larger than 20 gigabyte
- Lots of Chrome tabs open (no easy way to total memory usage, but likely 16 gigabyte or more)
Windows Compression was introduced in Windows 10 (back in 2015) and I’m still fairly new to it.
So here are some links I want to eventually dig into to make myself more familiar with it, and see if it affects Chrome runtime behaviour:
Thanks [Wayback/Archive] magicandre1981, [Wayback/Archive] peterh, [Wayback/Archive] Raymond Burkholder, and [Wayback/Archive] Falco Alexander for the above questions and answers.
From them, I learned that on a UAC elevated administrative command prompt, you can use these PowerShell for managing Memory Compression:
Get-MMAgent shows the current Memory Compression state
Disable-MMAgent -mc disables Memory Compression (requires a reboot)
Enable-MMAgent -mc enables Memory Compression (requires a reboot)
BTW:
–jeroen
Posted in Chrome, Google, Power User, procexp Process Explorer, SysInternals, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2022/12/15
I had trouble creating a Microsoft Account (so I could hand out on-line Office Licenses to users) where each time after solving the image or audio puzzle, it would shortly display a success, then loop back to the puzzle.
So I wrote a [Wayback/Archive] Thread by @jpluimers on Thread Reader App as I got stuck even before trying to add a Microsoft Account on any on m’y devices Windows 11 or Windows 10. It started with
[Wayback/Archive] Hi @MicrosoftHelps, I have a different problem. When creating an account using Edge on Windows 10 (latest version of both; no plugins; Microsoft Defender in default settings), solving the puzzle loops back to “Please solve the puzzle so we know you’re not a robot.”
The odd thing is that it did not work in either Edge or Chrome (both based on Chromium which uses the Blink browser engine) even in the anonymous/private browsing mode (InPrivate for Edge or Incognito Mode for Chrome).
Even Firefox had trouble, despite it being based on a totally different Gecko browser engine: after solving the puzzle it would continue but instead of displaying success, it showed an error page (the error page also occurred in the Firefox Private Browsing mode):
Read the rest of this entry »
Posted in Office, Power User, Windows, Windows 10, Windows 11 | Leave a Comment »