<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Windows</anon>
  </categories>
  <description>標準ライブラリで実行ファイルを起動する方法であるProcess.StartはUseShellExecuteの有無で動作が変わります。管理者権限のあるユーザーが非管理者権限で起動したプロセスのファイル起動動作にも影響があったので、そのままメモします。 // 管理者権限のあるユーザーで非管理者権限で起動したと仮定します。 using System.Diagnostics; var path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), &quot;regedit.exe&quot;); // 次をコメントアウト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F07%2F26%2F174251&quot; title=&quot;C#&amp;amp;Windows UseShellExecuteで管理者権限制限を適度に回避 - potisanのプログラミングメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-26 17:42:51</published>
  <title>C#&amp;Windows UseShellExecuteで管理者権限制限を適度に回避</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2026/07/26/174251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
