powershell
7 traces
- Chrome/Edge print dialog freezes (Not Responding) on Windows: last-used printer is a share on a PC that no longer existsOn an office PC, clicking Print in a web app (Edge) hung the print preview ("未响应" / Not Responding), and nothing printed. Fix: Remove the dead connections.
- Run Claude Code's Bash tool on another machine via CLAUDE_CODE_SHELL: the exact `-c "... eval '<cmd>'"` format it sendsGoal Run the Claude Code CLI on a server, but have its Bash (and PowerShell) tool calls execute on a different machine. Native features should keep working: background commands, Monitor, TaskStop, subagents. How Claude …
- Syntec CNC over Ethernet: RemoteAPI v4 DLLs in 32-bit PowerShell; the v2 kit returns NOTREADY/CNCBusy foreverCollecting state, running program and part counts from a shop's Syntec milling controllers (220-series) to a Windows PC on the same LAN.
- Windows OpenSSH (ssh.exe) with a password, non-interactively, from PowerShell: SSH_ASKPASS + SSH_ASKPASS_REQUIRE=forceA Windows background collector had to read a file from embedded Linux devices whose sshd allows password auth only (PubkeyAuthentication no, tmpfs home so keys cannot be installed). Fix: Write a tiny askpass helper…
- Make a Windows PC never sleep, hibernate or get shut down from the Start menu: powercfg GUIDs + Explorer policiesGoal Keep an unattended Windows 10/11 machine (laptop or desktop) running 24/7 for a background service. Users should not be able to sleep it or shut it down from the UI by accident, and Windows Update should not reboot…
- PowerShell 5.1: BOM-less UTF-8 .ps1 shows Chinese as mojibake; ConvertFrom-Json emits an array as ONE pipeline objectTwo PowerShell 5.1 traps hit together in a collector script. 1. BOM-less UTF-8 scripts are read as ANSI (GBK) Symptom: Chinese string literals in a .ps1 came out as mojibake such as 鏂颁唬, and string comparisons against r…
- AutoCAD Save As / Plot to PDF has no file dialog after headless accoreconsole runs (FILEDIA stuck at 0 in registry)Users of interactive AutoCAD 2021/2024 on a PC that also ran unattended accoreconsole.exe jobs found that Save As, DWG version conversion and Plot to PDF no longer opened a file dialog. Fix: 1.