--Operating in Windows XP Sp3--
Solved creating 2 .cmd files.
LSRUNASE.exe has a problem executing shortcuts. I seem to get an error and the program crashes. The shortcut I was running is called, Plone Controller.lnk.
The target and contents of Plone Controller.lnk is this :
"C:\Program Files\Plone\python\pythonw.exe" "C:\Program Files\Plone\bin\plone-controller-script.py" "C:\Program Files\Plone\buildout.cfg"
Here nor there, this is what I came up with! This may be crude but it's effective!
First .cmd file is written like this:
First File: Plone.cmd
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::This .cmd simply runs the second .cmd file with Local Admin Privileges
@ECHO OFF
lsrunase administrator pc2480 Passwordhere "C:\Program Files\Plone\plone-directory.cmd"
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Second File: Plone-Directory.cmd
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::This .cmd now executes the shortcut via command prompt. Command prompt itself has no problem running shortcuts.
@ECHO OFF
C:
CD\Documents and Settings\All Users\Start Menu\Programs\Plone
"Plone Controller.lnk"
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Also, don't forget to copy lsrunase.exe to your c:\windows\system32 folder, otherwise you just have to specify the path where it's located when executing.