Archive for the ‘Windows’ Category
Posted by jpluimers on 2024/07/30
I love the new title-text for the 2018 “Clippy” picture at [Wayback/Archive] CrazyMyra: “After AI took his job as an online assistant, Mr Clippy was obliged to seek work in other sectors…” – beige.party
A metal toilet paper holder in a corner od a bathro,with an empty roll, that looks similar to a large paperclip
Read the rest of this entry »
Posted in AI and ML; Artificial Intelligence & Machine Learning, Conference Topics, Conferences, Development, Event, Fun, History, JavaScript/ECMAScript, LifeHacker, LLM, Meme, Office, Power User, Scripting, Software Development, Web Development, Windows | Leave a Comment »
Posted by jpluimers on 2024/07/25
A few years ago I asked for some help figuring out what to whitelist so that winget can update its sources and install packages.
This is how I found out.
The queste started with [Wayback/Archive] Need help trying to figure out what domains/IPs to whitelist for installing packages · Discussion #2304 · microsoft/winget-cli
Read the rest of this entry »
Posted in Batch-Files, Development, Firewall, Fritz!, Fritz!Box, Hardware, Network-and-equipment, Power User, Scripting, Software Development, Windows, Windows 10, Windows 11, winget | Leave a Comment »
Posted by jpluimers on 2024/07/09
Related to WhatsApp Desktop for Mac or PC cannot only chat but also voice and video call: installing WhatsApp from the command-line.
That was easy to do via winget:
c:\temp>winget install -e --id WhatsApp.WhatsApp
Found WhatsApp [WhatsApp.WhatsApp] Version 2.2222.12
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe
██████████████████████████████ 145 MB / 145 MB
Successfully verified installer hash
Starting package install...
Successfully installed
This was a while ago, so the version number by now is dated, but it is about the command winget install -e --id WhatsApp.WhatsApp
Via:
–jeroen
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 10, Windows 11, winget | Leave a Comment »
Posted by jpluimers on 2024/07/01
This happens a lot with apps that auto-update before package manager contain that update: [Wayback/Archive] MSI installation error 1603 – Windows Server | Microsoft Learn
Cause
You may receive this error message if any one of the following conditions is true:
- Windows Installer is attempting to install an app that is already installed on your PC.
- The folder that you are trying to install the Windows Installer package to is encrypted.
- The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
- The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.
Query: [Wayback/Archive] Exit code was ‘1603’ – Google Search
--jeroen
Posted in Chocolatey, Power User, Windows | Leave a Comment »
Posted by jpluimers on 2024/05/23
More than a decade ago I wrote about Programmatic alternatives to Windows-L keyboard shortcut (SwitchUser / LockWorkstation).
Still, I see many scripts invoke rundll32.exe or to call the [Wayback/Archive] LockWorkStation function (winuser.h) inside user32.dll. Don’t!
The BOOL LockWorkStation()function has a calling convention that is incompatible with rundll32.exe () which will corrupt the call stack likely will lead to random problems as after two decades, this post from Raymond Chen still holds: [Wayback/Archive] What can go wrong when you mismatch the calling convention? – The Old New Thing
Read the rest of this entry »
Posted in .NET, Batch-Files, C#, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Security, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Server 2016 | Leave a Comment »
Posted by jpluimers on 2024/05/03
The build is from 2007, but still works fine on Windows 10 and 11 and perfectly fitted my needs for finding some ~2500 duplicate files that Google Drive made with their “upgrade” from Google Backup and Sync to Google Drive File Sync (where syncing from shared content is sort of possible and impossible at the same time).
Via [Wayback/Archive] Which duplicate files and folders finders exist for Windows? – Super User (thanks [Wayback/Archive] Chris Driver for answering and [Wayback/Archive] Andrija for asking) where I commented [Wayback/Archive]:
Thanks: still works fine in 2022. Download from … is a simple ZIP file which you can extract and just run the executable. No need for complicated installers or admin rights. Matches on (combinations of) name/size/date/CRC32, then intuitive GUI to select the files you don’t want any more, then either delete or move those selected files.
Via
–jeroen
Read the rest of this entry »
Posted in Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »
Posted by jpluimers on 2024/03/28
A while back, early in the Wednesday morning after Patch Tuesday I performed regular updates of all the systems noticing some updates failed because timeouts on the Microsoft download servers.
Note I perform the manual steps on Wednesday as Patch Tuesday as it starts at 10:00 AM PST which is in the evening in Amsterdam. The automated steps are automated and kick in when Microsoft tells the Windows machines to update themselves.
See [Wayback/Archive] Security Update Guide FAQs
Microsoft schedules the release of security updates on “Patch Tuesday,” the second Tuesday of each month at 10:00 AM PST.
Depending on time zone(s) in which the organization operates, IT pros should plan their deployment schedules accordingly. Please note that there are some products that do not follow the Patch Tuesday schedule.
I posted a gist and a Tweet, but didn’t immediately thought of a good resolution so I postponed that until Thursday and found it:
Read the rest of this entry »
Posted in C, C++, Development, Power User, Software Development, Visual Studio and tools, Visual Studio C++, vscode Visual Studio Code, Windows, Windows Development | Leave a Comment »
Posted by jpluimers on 2024/03/06
I totally missed this feature got implemented: [Wayback/Archive] Use Remembered Arguments for a Package During Upgrades · Issue #797 · chocolatey/choco. I also seem to be lucky I have not tried it out yet (:
I bumped into it via [Wayback/Archive] Chocolatey Software | Notepad++ 8.4.4, which had this interesting comment:
If you want Notepad++ 32 bit and you want it to stay on 32 bit with upgrades, ensure you are on Chocolatey 0.10.4 (or newer). Then add `-x86` to your installation arguments. Then turn on the remembered arguments feature with ‘choco feature enable -n useRememberedArgumentsForUpgrades‘ – this will ensure that `-x86` gets passed on upgrade when running `choco upgrade all`. For more information on how this works, see https://github.com/chocolat…797
First of all, if you started using Chocolatey at or before 0.14, the useRememberedArgumentsForUpgrades feature is disabled by default and kept that way even after upgrading to the most recent version. You can see executing choco feature list on a system that started with Chocolatey:
Read the rest of this entry »
Posted in Chocolatey, Development, Power User, Scripting, Software Development, Windows | Leave a Comment »