@V-S-Rawat said,
It is odd that C:\Program Files\Notepad++\plugins\PythonScript\scripts is having py scripts because that would mean uac hassles on each edit of our py script.
The historic (pre-7.6.x) configuration for PythonScript had two locations for storing the scripts: the “machine scripts” were stored in the plugins\PythonScript\scripts\ subdirectory of the installed-notead++ directory; the “user scripts” go in %AppData%\Notepad++\plugins\config\PythonScript\scripts\ . In case you’re curious, “machine scripts” mean the scripts that are available to every user of the machine (ie, global or public scripts); “user scripts” are scripts available just to the particular user.
Because of this configuration, if a machine with a pre-7.6.x installation had “machine scripts” and had UAC enabled, such that mere-mortal users needed to elevate to Admin before being able to install programs, then their “machine scripts” also had the same UAC requirements. Since with the 7.6.2 setup also puts machine scripts in the installed folder hierarchy (see @Meta-Chuh’s summary of locations for 7.6.2), then it still has UAC requirements for machine scripts. Nothing is changed in that regard. If you don’t want to deal with UAC for the stored scripts in PythonScript, make them as user scripts, not as machine scripts – that was true in 7.5.8, and it’s still true in 7.6.2.