<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unattended install not actually executing from a PowerShell script]]></title><description><![CDATA[<p dir="auto">I have a series of virtual machines that deploy from the same template in vCloud. Using the guest customization script part of the building phase, this calls a PowerShell script from the native  VM’s “SYSTEM” account, and unfortunately his seems to be unable to run an unattended install of Notepad++.</p>
<p dir="auto">The script line I’m using is fairly straight forward:</p>
<pre><code>$proc = Start-Process "C:\Install\npp_setup.exe" -verb RunAs -Wait -Passthru -ArgumentList "/S ALLUSERS=TRUE"
</code></pre>
<p dir="auto">When this is called by the VM build process, this just sits and does nothing. In Task Manager, no Notepad++ setup process is running.</p>
<p dir="auto">If I use PSExec to create a PowerShell instance with the SYSTEM account, I can execute the same script, and this works - no pop-ups, no UAC.</p>
<p dir="auto">This seems to be quite a common theme with Notepad++ failing to be installed when running from an unattended session.<br />
Does anyone have a solution to this?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27120/unattended-install-not-actually-executing-from-a-powershell-script</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 20:38:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27120.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Sep 2025 15:54:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unattended install not actually executing from a PowerShell script on Sat, 06 Sep 2025 23:26:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-young_ivanti" aria-label="Profile: Steven-Young_ivanti">@<bdi>Steven-Young_ivanti</bdi></a> said in <a href="/post/103142">Unattended install not actually executing from a PowerShell script</a>:</p>
<blockquote>
<p dir="auto">The script line I’m using is fairly straight forward:</p>
</blockquote>
<p dir="auto">But opens questions, for me.</p>
<blockquote>
<p dir="auto"><code>C:\Install\npp_setup.exe</code></p>
</blockquote>
<p dir="auto">What is this <code>npp_setup.exe</code>?  Where did you get it?  Is it a renamed copy of the official installer, or some repackaged installer?</p>
<blockquote>
<p dir="auto"><code>/S ALLUSERS=TRUE</code></p>
</blockquote>
<p dir="auto"><code>/S</code> is a valid <a href="https://npp-user-manual.org/docs/command-prompt/#installer-options" rel="nofollow ugc">installer option</a> on the official installer, to enable silent installation; but from anything I’ve ever heard, and searching the repo for <code>ALLUSERS</code>, the option <code>ALLUSERS=TRUE</code> is not understood by the official installer, AFAICT.</p>
<p dir="auto">It’s going to be hard for anyone here to help you if you’re starting from some random unknown installer or trying to use options that don’t exist.  You might need to give a bit more information.</p>
<p dir="auto">The developer doesn’t support unofficial installers, and unless one of the regulars has happened to have heard of / used it, it’s not likely any regulars will be able to help you in the forum, either.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/103146</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/103146</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 06 Sep 2025 23:26:09 GMT</pubDate></item></channel></rss>