<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Windows on Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/windows/</link>
    <description>Recent content in Windows on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 10 Aug 2026 10:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/windows/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>FlashVSR on an RTX 5060 Ti: From 480p Input to 1728×960 Video, Plus Every Pitfall I Hit</title>
      <link>https://blog.margrop.net/en/post/flashvsr-rtx-5060-ti-video-upscale/</link>
      <pubDate>Mon, 10 Aug 2026 10:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/flashvsr-rtx-5060-ti-video-upscale/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;A note before we start&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;“Make a 480p video clearer” sounds like a simple resize operation. In practice, video super-resolution is closer to asking a restorer to repair hundreds of neighboring photographs while making sure faces, text, lighting, and motion do not jump from frame to frame. This post records a complete FlashVSR_plus experiment on an RTX 5060 Ti: compatibility checks, portable Miniconda setup, model download, source-level bugs, FFmpeg audio muxing, and reusable Windows, Ubuntu, and macOS scripts.&lt;/p&gt;&#xA;&lt;p&gt;The FlashVSR_plus build used here is a community variant rather than the official upstream repository. Commands and flags can change between versions. Paths in this article are public examples; the original video, model cache, and raw terminal logs were not uploaded.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Computers Rarely Break “Out of Nowhere”: Read Logs Like a Detective</title>
      <link>https://blog.margrop.net/en/post/%E7%9C%8B%E6%97%A5%E5%BF%97-log-reading-art/</link>
      <pubDate>Wed, 29 Jul 2026 20:30:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/%E7%9C%8B%E6%97%A5%E5%BF%97-log-reading-art/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The short conclusion&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Computers rarely fail without leaving a trace. A disk gradually fills up. A service emits warnings before it exits. A DNS lookup fails before a browser reports a timeout. A process starts and stops several times before a user sees a broken page. The practical skill is not to reinstall everything after seeing a red error. It is to ask five detective questions: &lt;strong&gt;When did it happen? Which object was involved? How serious was it? What happened before and after it? Can the result be verified after the fix?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This article explains logs as a computer’s diary instead of presenting them as mysterious engineering jargon. It uses real collection output from Windows 11, Ubuntu 26.04, and macOS 26, provides three native read-only collectors, and shows how to give the same evidence-first workflow to an Agent. A child should understand most of the story; an engineer can still reuse the commands and the reasoning pattern.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Restart Is Not Magic: Why Turning a Computer Off and On Seems to Fix 99% of Its Problems</title>
      <link>https://blog.margrop.net/en/post/why-restart-fixes-99-percent-%E9%87%8D%E5%90%AF/</link>
      <pubDate>Wed, 29 Jul 2026 08:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/why-restart-fixes-99-percent-%E9%87%8D%E5%90%AF/</guid>
      <description>The short version&#xA;A restart is not magic, and it does not repair every fault. It is closer to emptying a room that has been used for months without cleaning: borrowed items are collected, people take fresh queue numbers, temporary notes disappear, and doors and appliances are initialized again. The system returns to a cleaner and more predictable starting point.&#xA;When “restart fixed it” is true, the fault is often in volatile state, not in permanently damaged hardware, a configuration that is always wrong, or an application whose root cause has disappeared.</description>
    </item>
    <item>
      <title>Take Back Your Remote Desktop: Deploying an All-in-One RustDesk Server Safely</title>
      <link>https://blog.margrop.net/en/post/rustdesk-all-in-one-server-guide/</link>
      <pubDate>Fri, 10 Jul 2026 22:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/rustdesk-all-in-one-server-guide/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;RustDesk is an open-source remote desktop application designed with self-hosting in mind. When two clients can reach each other directly, screen and input traffic can use a peer-to-peer path. When that direct path fails, a relay server forwards the encrypted traffic. Hosting the server yourself does not eliminate servers; it puts device registration, relay routing, keys, accounts, and logs back under your control.&lt;/p&gt;&#xA;&lt;p&gt;This guide uses the community-maintained &lt;code&gt;lejianwen/rustdesk-server-s6&lt;/code&gt; image to place the RustDesk OSS &lt;code&gt;hbbs&lt;/code&gt; and &lt;code&gt;hbbr&lt;/code&gt; services together with a community API and web administration layer in one container. It is a convenient option for homes, labs, and small teams, but it is &lt;strong&gt;not an official RustDesk all-in-one distribution&lt;/strong&gt;. Evaluate the community image, pin a tested tag or digest, back up its persistent data, and rehearse upgrades and rollbacks before treating it as production infrastructure.&lt;/p&gt;&#xA;&lt;p&gt;Every address in this article uses &lt;code&gt;example.com&lt;/code&gt;. No real IP address, private domain, hostname, device ID, account, key, token, cookie, or private registry is shown. The screenshots come from public official or community project pages.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>I Put Docker in a Control Room: Portainer CE 2.39.4 Deployment, Daily Use, and Real Traps</title>
      <link>https://blog.margrop.net/en/post/portainer-ce-docker-deployment-guide/</link>
      <pubDate>Fri, 10 Jul 2026 15:30:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/portainer-ce-docker-deployment-guide/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Bottom line first&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Portainer does not replace Docker. It is a control room for a Docker host. Docker Engine remains the machinery; Portainer organizes containers, images, networks, volumes, and Compose stacks into a web dashboard.&lt;/p&gt;&#xA;&lt;p&gt;I ran an isolated deployment of &lt;code&gt;portainer/portainer-ce:2.39.4&lt;/code&gt;, initialized it, connected the local Docker environment, inspected the dashboard, filtered a disposable container, and created a demonstration stack. The installation is one &lt;code&gt;docker run&lt;/code&gt; command. The important lessons are broader: persist &lt;code&gt;/data&lt;/code&gt;, understand that &lt;code&gt;/var/run/docker.sock&lt;/code&gt; is highly privileged, and never expose the management interface to an untrusted network without protection.&lt;/p&gt;&#xA;&lt;p&gt;This article contains no complete IP address, real host name, private domain, administrator password, token, cookie, private registry address, or production container name. The screenshots use disposable names, and the container address is redacted.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Windows Finally Gets Native Linux Commands: Microsoft Coreutils Replaces WSL, Cygwin, and Git Bash</title>
      <link>https://blog.margrop.net/en/post/windows-native-linux-commands-microsoft-coreutils/</link>
      <pubDate>Sat, 27 Jun 2026 08:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/windows-native-linux-commands-microsoft-coreutils/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Let me ask you something:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Have you ever tried to &lt;code&gt;grep&lt;/code&gt; a log file in Windows Terminal, only to be told that &lt;code&gt;grep&lt;/code&gt; is not a recognized command? Tried to use &lt;code&gt;find&lt;/code&gt; to locate files, only to discover that Windows&amp;rsquo; &lt;code&gt;find&lt;/code&gt; is a completely different beast from Linux&amp;rsquo;s &lt;code&gt;find&lt;/code&gt;? Written a cross-platform script that works perfectly on Linux, then falls apart the moment it touches Windows?&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s not your fault. It&amp;rsquo;s the &amp;ldquo;Berlin Wall&amp;rdquo; between Windows and Linux command lines.&lt;/p&gt;&#xA;&lt;p&gt;The good news? Microsoft just tore that wall down. In late 2025, Microsoft open-sourced &lt;strong&gt;coreutils&lt;/strong&gt; on GitHub — a native Windows port of the essential Linux command set. No WSL. No Cygwin. No Git Bash. Just one &lt;code&gt;winget install&lt;/code&gt; command, and your Windows terminal suddenly speaks fluent &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;grep&lt;/code&gt;, &lt;code&gt;sed&lt;/code&gt;, and &lt;code&gt;awk&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Stop Clicking Remote Desktop: Let AI Agents SSH into Windows Instead</title>
      <link>https://blog.margrop.net/en/post/agent-ssh-windows-openssh/</link>
      <pubDate>Wed, 13 May 2026 08:10:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/agent-ssh-windows-openssh/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;An AI agent does not need Remote Desktop, VNC, or a proprietary remote-control tool to operate a Windows machine. For many workstations, lab machines, development PCs, and internal servers, the cleanest path is to enable the built-in &lt;strong&gt;OpenSSH Server&lt;/strong&gt; on Windows and connect from Linux or macOS with a normal command: &lt;code&gt;ssh &amp;lt;user&amp;gt;@&amp;lt;windows-host&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There are only three things to get right. First, install and enable OpenSSH Server on Windows 10 or Windows 11. Second, generate an SSH key on Linux or macOS and place the public key on Windows. Third, if the target account belongs to the Windows Administrators group, put the public key in &lt;code&gt;C:\ProgramData\ssh\administrators_authorized_keys&lt;/code&gt; and lock down the ACL with &lt;code&gt;icacls&lt;/code&gt;. After that, an AI agent can run PowerShell, copy scripts, collect logs, install tools, and perform repeatable maintenance through the same SSH workflow it already uses for Linux.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;All hostnames, addresses, usernames, screenshots, and commands in this article use generic placeholders. No real internal addresses, usernames, machine names, tokens, keys, or private paths are included. Replace placeholders such as &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;windows-host&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;windows-ip&amp;gt;&lt;/code&gt; with values from your own environment.&lt;/p&gt;</description>
    </item>
    <item>
      <title>China Telecom Cloud Computer Configuration and Never Sleep Method</title>
      <link>https://blog.margrop.net/en/post/ctyun-windows-never-sleep/</link>
      <pubDate>Tue, 04 Jun 2024 12:27:39 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/ctyun-windows-never-sleep/</guid>
      <description>&lt;p&gt;Windows software download: &lt;a href=&#34;https://download.margrop.net/#/EXE&#34;&gt;https://download.margrop.net/#/EXE&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;China Telecom Cloud Computer: &lt;a href=&#34;https://desk.ctyun.cn/html/download/&#34;&gt;https://desk.ctyun.cn/html/download/&lt;/a&gt;&#xA;Scheduler software: &lt;a href=&#34;http://www.everauto.net/&#34;&gt;http://www.everauto.net/&lt;/a&gt;&#xA;China Telecom Cloud Computer default path: C:\Program Files (x86)\CtyunClouddeskUniversal\CtyunClouddeskUniversal.exe&#xA;BtPanel: &lt;a href=&#34;https://www.bt.cn/new/product_windows.html&#34;&gt;https://www.bt.cn/new/product_windows.html&lt;/a&gt;&#xA;BtPanel Legacy Version: &lt;a href=&#34;http://download.bt.cn/win/update/net/BtSoft-Win.zip&#34;&gt;http://download.bt.cn/win/update/net/BtSoft-Win.zip&lt;/a&gt;&#xA;frp: &lt;a href=&#34;https://github.com/fatedier/frp&#34;&gt;https://github.com/fatedier/frp&lt;/a&gt;&#xA;NSSM: &lt;a href=&#34;http://www.nssm.cc/download&#34;&gt;http://www.nssm.cc/download&lt;/a&gt;&#xA;Notepad++: &lt;a href=&#34;https://download.margrop.net/d/oneindex/EXE/npp.8.6.7.Installer.x64.exe&#34;&gt;https://download.margrop.net/d/oneindex/EXE/npp.8.6.7.Installer.x64.exe&lt;/a&gt;&#xA;RustDesk: &lt;a href=&#34;https://download.margrop.net/d/oneindex/EXE/rustdesk-1.2.3-2-x86_64.exe&#34;&gt;https://download.margrop.net/d/oneindex/EXE/rustdesk-1.2.3-2-x86_64.exe&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Java Spring Boot JNI Native Library Loader</title>
      <link>https://blog.margrop.net/en/post/java-spring-boot-jni-java-native-interface-library-loader/</link>
      <pubDate>Sat, 27 Mar 2021 16:37:31 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/java-spring-boot-jni-java-native-interface-library-loader/</guid>
      <description>&lt;p&gt;Because Java needs to stay cross-platform, I wrote a cross-platform JNI native library loader.&lt;/p&gt;&#xA;&lt;h1 id=&#34;simple-implementation&#34;&gt;Simple Implementation&lt;/h1&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Determine whether the current system is &lt;code&gt;Windows&lt;/code&gt;, &lt;code&gt;Linux&lt;/code&gt;, or &lt;code&gt;MacOS&lt;/code&gt; from the &lt;code&gt;os.name&lt;/code&gt; environment property.&lt;/li&gt;&#xA;&lt;li&gt;If it is &lt;code&gt;Linux&lt;/code&gt;, further determine whether it is &lt;code&gt;CentOS&lt;/code&gt; or &lt;code&gt;Debian&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Read the library files inside the jar package.&lt;/li&gt;&#xA;&lt;li&gt;Filter the matching platform library files by file suffix: &lt;code&gt;dll&lt;/code&gt;, &lt;code&gt;so&lt;/code&gt;, &lt;code&gt;jnilib&lt;/code&gt;, and &lt;code&gt;dylib&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Copy the current platform&amp;rsquo;s library file to the system temporary directory &lt;code&gt;java.io.tmpdir&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Load the library using &lt;code&gt;System.load&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
    <item>
      <title>How to run N2N using Windows-Run</title>
      <link>https://blog.margrop.net/en/post/how-to-use-n2n-windows-edge/</link>
      <pubDate>Fri, 29 Jan 2021 13:43:19 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-use-n2n-windows-edge/</guid>
      <description>Here I only talk about how to run the N2N client edge. In fact, it is easier to run the supernode, so I won’t repeat it here.&#xA;Download and unzip N2N Contains edge, supernode, openssl链接库 (necessary for n2n operation), tap-windows安装包 (necessary for n2n operation, Win7&amp;amp;Win10)&#xA;Install Tap-Windows Depending on your platform, select the installation file of Win10 or Win7 and use 一路回车法 to install it. Trial run edge service The following takes the decompression path as D:\TOOLS\ as an example.</description>
    </item>
    <item>
      <title>Recommendations and downloads of commonly used Windows software, no recommendations</title>
      <link>https://blog.margrop.net/en/post/windows-software-recommend-and-download/</link>
      <pubDate>Sun, 24 Jan 2021 22:22:47 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/windows-software-recommend-and-download/</guid>
      <description>Here we recommend some software commonly used in the Windows environment of this site. There are no recommendations. If you don’t like it, please close the page.&#xA;This software is equivalent to Windows version 应用市场, but does not include any bundled software. *Tencent officially closed the download of this independent version of the software N years ago (N&amp;gt;3). For the application market, it is obviously not cost-effective to install an additional Tencent Computer Manager.</description>
    </item>
    <item>
      <title>Activate Windows 10 with KMS, Including Third-Party and Self-Hosted Services</title>
      <link>https://blog.margrop.net/en/post/kms-activate-win10-slmgr/</link>
      <pubDate>Mon, 18 Jan 2021 22:12:43 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/kms-activate-win10-slmgr/</guid>
      <description>&lt;h1 id=&#34;third-party-service-activation&#34;&gt;Third-Party Service Activation&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use &lt;code&gt;Administrator&lt;/code&gt; privileges and run two commands:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;slmgr /skms kms.03k.org&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;slmgr /ato&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Install Frp client on Windows and use remote desktop</title>
      <link>https://blog.margrop.net/en/post/windows-frpc-install-for-remote-desktop/</link>
      <pubDate>Sun, 17 Jan 2021 19:36:38 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/windows-frpc-install-for-remote-desktop/</guid>
      <description>As the usage restrictions of TeamViewer become more and more strict, it will be regarded as an enterprise user from time to time. After all, there is no free lunch in the world. The following is a method to use the Frp client for intranet penetration and remote control.&#xA;Please prepare your own Frp server and consider the security risks of exposing port 3389 to the public network.&#xA;Download Frp client #Configure Frp client</description>
    </item>
    <item>
      <title>How to run N2N-compilation using Windows</title>
      <link>https://blog.margrop.net/en/post/how-to-use-n2n-windows-compile/</link>
      <pubDate>Fri, 15 Jan 2021 14:26:49 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-use-n2n-windows-compile/</guid>
      <description>According to Building说明 of N2N官方网站, the software required for Windows compilation is Visual Studio,Cmake,OpenSSL。&#xA;I got a headache when I saw Visual Studio. This software is very difficult to install. So I chose cross-compilation, that is, using the Linux environment to compile Windows exe and dll files.&#xA;#Compiled files&#xA;Compilation environment:&#xA;Contains edge, supernode, openssl链接库 (necessary for n2n operation), tap-windows安装包 (necessary for n2n operation, Win7&amp;amp;Win10)&#xA;Prepare the compilation environment Use yum to install necessary software, the following is the author&amp;rsquo;s reference document wget https://download.</description>
    </item>
  </channel>
</rss>
