cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mvplee
Engaged Sweeper
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
4 REPLIES 4
DKR
Engaged Sweeper
--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.
Hemoco
Lansweeper Alumni
Most likely the multiple paths are the problem.

You could wrap your command in one .cmd file and start this file with lsrunase
mvplee
Engaged Sweeper
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.
Hemoco
Lansweeper Alumni
You can type in the name of the computer or "."