<?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[Syntax highlighting for non-administrator users]]></title><description><![CDATA[<p dir="auto">I installed notepad++ using an administrator account and when using notepad++ with a regular non-administrator account, syntax highlighting does not work.</p>
<p dir="auto">However, when I open it with the administrator account, it works as expected, what permission/folder/file/setting is missing on the non-administrator account to have syntax highlighting to work?</p>
<p dir="auto">Please advise.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20665/syntax-highlighting-for-non-administrator-users</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 02:41:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20665.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Feb 2021 21:00:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Syntax highlighting for non-administrator users on Tue, 02 Feb 2021 14:34:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">I granted UserX read/write permissions to the C:\Program Files\Notepad++ folder and syntax works now.</p>
<p dir="auto">Thanks for your help!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62421</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62421</guid><dc:creator><![CDATA[neualex]]></dc:creator><pubDate>Tue, 02 Feb 2021 14:34:05 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax highlighting for non-administrator users on Mon, 01 Feb 2021 21:43:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a>, see below.</p>
<ul>
<li>UserX has full rights on %AppData%\Notepad++</li>
<li>Using built-in highlighter.</li>
<li>Using DeepBlank, but using default theme or any other theme has no luck either.</li>
<li>Will try the experiment later today and report back.</li>
</ul>
<p dir="auto"><strong>UserX</strong></p>
<p dir="auto">Notepad++ v7.9.2   (64-bit)<br />
Build time : Dec 31 2020 - 04:01:34<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS Name : Windows 10 Pro (64-bit)<br />
OS Version : 2009<br />
OS Build : 19042.746<br />
Current ANSI codepage : 1252<br />
Plugins : mimeTools.dll NppConverter.dll NppExport.dll</p>
<p dir="auto"><strong>Administrator</strong></p>
<p dir="auto">Notepad++ v7.9.2   (64-bit)<br />
Build time : Dec 31 2020 - 04:01:34<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : ON<br />
Local Conf mode : OFF<br />
OS Name : Windows 10 Pro (64-bit)<br />
OS Version : 2009<br />
OS Build : 19042.746<br />
Current ANSI codepage : 1252<br />
Plugins : mimeTools.dll NppConverter.dll NppExport.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62406</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62406</guid><dc:creator><![CDATA[neualex]]></dc:creator><pubDate>Mon, 01 Feb 2021 21:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax highlighting for non-administrator users on Mon, 01 Feb 2021 21:36:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neualex" aria-label="Profile: neualex">@<bdi>neualex</bdi></a> said in <a href="/post/62403">Syntax highlighting for non-administrator users</a>:</p>
<blockquote>
<p dir="auto">Other thoughts?</p>
</blockquote>
<p dir="auto">This is weird.  Does <code>UserX</code> have write permission to their own <code>%AppData%\Notepad++</code> folder?  (Maybe if <code>Administrator</code> created the <code>...\UserX\Roaming\AppData\Notepad++</code> folder, the permissions weren’t set correctly)</p>
<p dir="auto">Unfortunately, I don’t have a system where I can easily replicate Administrator doing the install and UserX trying to use it, so I cannot even try to re-create the problem you are having, so I’m taking stabs in the dark.</p>
<p dir="auto">As always when asking for help in this forum, it’s quite useful if you include the <strong>?</strong> menu’s <strong>Debug Info</strong> data – and in your case, I would recommend for both Administrator and UserX.  That sometimes shows us something useful (and makes sure we know exactly what version you have)</p>
<p dir="auto">You mentioned themes: which theme does UserX have selected?  Maybe that theme is not complete for the language you’re syntax-highlighting in?</p>
<p dir="auto">Is the syntax highlighting that’s missing a builtin highlighter, or is it a UserDefined Language?  If the latter, then the userDefineLangs folder must be present in the <code>%AppData%\Notepad++</code>… but since you said it’s the same as the Administrator, I would think it would be present.</p>
<p dir="auto">Since you are the administrator, are you willing to do a temporary experiment on their machine?  Delete UserX’s <code>%AppData%\Notepad++\</code> folder.  Download the portable zipfile for the same version that you’re trying to install, and unzip it in a folder that UserX has read and write access to, and make sure UserX has read/write/delete access on doLocalConf.xml.  Log out of Administrator and log in as UserX.  Run the portable notepad++.exe as UserX, which should run using the portable configuration files, and check if syntax highlighting is okay.  (it should be).  Exit Notepad++; delete doLocalConf.xml from the portable directory, and re-run the portable notepad++.exe: this should force Notepad++ to create a new <code>%AppData%\Notepad++\</code> folder for UserX.  Check to make sure syntax highlighting still works.  Exit the portable Notepad++, and try running the installed Notepad++, which should then pick up the settings that the portable wrote in that folder.  Maybe that will fix syntax highlighting?</p>
<p dir="auto">That’s the limit that I can think of for now.  Maybe after you’ve replied, I’ll think of something else.  And anyone else who wants to chime in, please feel free.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62404</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62404</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 01 Feb 2021 21:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax highlighting for non-administrator users on Mon, 01 Feb 2021 21:23:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/62401">Syntax highlighting for non-administrator users</a>:<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a>, thanks for the prompt response.</p>
<p dir="auto"><code>stylers.model.xml</code> does exist in <code>C:\Program Files\Notepad++</code></p>
<p dir="auto">Both, admin and non-admin accounts, have the same contents for <code>%AppData%\Notepad++</code>, I had to copy admin contents to non-admin to have themes work.</p>
<p dir="auto">Other thoughts?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62403</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62403</guid><dc:creator><![CDATA[neualex]]></dc:creator><pubDate>Mon, 01 Feb 2021 21:23:12 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax highlighting for non-administrator users on Mon, 01 Feb 2021 21:15:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neualex" aria-label="Profile: neualex">@<bdi>neualex</bdi></a> ,</p>
<p dir="auto">Hmm.  For syntax highlighting to “not work”, I would assume that means that the individual user doesn’t have stylers.xml in their <code>%AppData%\Notepad++\</code> folder.  But if they don’t have that file, when Notepad++ runs, it should copy the <code>stylers.model.xml</code> from the Notepad++ installation folder (often <code>c:\program files\notepad++\</code>) to that user’s <code>%AppData%\Notepad++\</code> folder.</p>
<p dir="auto">I guess if there <em>isn’t</em> an <code>&lt;install_dir&gt;\stylers.model.xml</code>, then there’s nothing for Notepad++ to copy.</p>
<p dir="auto">Other than that, I cannot see what could go wrong on the syntax highlighting.</p>
<p dir="auto">If the <code>Administrator</code>’s account is working but <code>UserX</code>’s is not, assuming the user hasn’t customized anything yet, maybe just copy the entire contents of the <code>...\users\Administrator\AppData\Roaming\Notepad++</code> folder to the <code>...\users\UserX\AppData\Roaming\Notepad++</code> folder (ie, to their <code>%AppData%\Notepad++</code> folder)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62401</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62401</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 01 Feb 2021 21:15:15 GMT</pubDate></item></channel></rss>