
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2010 07:37 PM
Is it possible to run the lsrunase tool using a local computer administrator account instead of a domain account?
Our computers are attached to a domain but want to run the tool with a local admin account. If it is possible, what do we enter in for the domain parameter?
Thanks
Our computers are attached to a domain but want to run the tool with a local admin account. If it is possible, what do we enter in for the domain parameter?
Thanks
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2010 07:38 PM
--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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2010 09:48 AM
Most likely the multiple paths are the problem.
You could wrap your command in one .cmd file and start this file with lsrunase
You could wrap your command in one .cmd file and start this file with lsrunase

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2010 01:06 AM
Do you know of any reason it would not run this?
lsrunase administrator PC2480 password "C:\Program Files\Plone\python\pythonw.exe" "C:\Program Files\Plone\bin\plone-controller-script.py" "C:\Program Files\Plone\buildout.cfg"
Is it because of multiple paths?
There's no errors and nothing happens.
lsrunase administrator PC2480 password "C:\Program Files\Plone\python\pythonw.exe" "C:\Program Files\Plone\bin\plone-controller-script.py" "C:\Program Files\Plone\buildout.cfg"
Is it because of multiple paths?
There's no errors and nothing happens.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2010 08:15 PM
You can type in the name of the computer or "."
