Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: can I "runba" script.exe as admin from custom comm

can I "runba" script.exe as admin from custom comm 5 years 1 month ago #823

  • chef
  • chef's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 51
  • Karma: 1
Hello, it is Ben here...again
I have written some scripts to integreat amulet with home automation. However I can run command lines in the vbscript as administrator, it would be easier to call cscript.exe from custom commands as an administrator. Is this possible?
Last Edit: 5 years 1 month ago by chef.
The administrator has disabled public write access.

Re: can I "runba" script.exe as admin from custom comm 5 years 1 month ago #826

  • chef
  • chef's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 51
  • Karma: 1
never mind got it working...
The administrator has disabled public write access.

Re: can I "runba" script.exe as admin from custom comm 5 years 1 month ago #835

  • eddy
  • eddy's Avatar
  • OFFLINE
  • Administrator
  • Posts: 191
  • Thank you received: 2
  • Karma: 5
However I can run command lines in the vbscript as administrator, it would be easier to call cscript.exe from custom commands as an administrator. Is this possible?
...
never mind got it working...
What did you do in the end to get it working?

Eddy
The administrator has disabled public write access.

Re: can I "runba" script.exe as admin from custom comm 5 years 1 month ago #837

  • chef
  • chef's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 51
  • Karma: 1
there was no easy way about it. Right Now a bunch of us are using amulet to trigger events in EventGhost for Home Automation. EventGhost wasn't working very well, until we realized everything had to be run as admin. No one really wanted to turn off UAC, so I tried a couple different options, wrapping scripts, using "runas". But in the end it's almost impossible to run vbscripts as Admin without registry hacks, which I wasn't prepared to do either. There was no way to run anything without UAC popups anyway.

So as long as EventGhost was run as Admin we started to get some better results. Amulet most likely doesn't get Admin rights, and why would it need them? right...

UAC popups were a whole new bag of annoying too.

So as long as EventGhost was run as administrator it was okay.

By the way, we have got at least three home theaters running home automation with Amulet Kinect (really cool stuff there) and a couple guys at Media Browser got remotes shipped to them by third party shipping companies like I did and they are all extremely happy.

I'm still spreading the news!! One geeky HTPC owner at a time :) just like me!
The administrator has disabled public write access.

Re: can I "runba" script.exe as admin from custom comm 5 years 1 month ago #840

  • xzener
  • xzener's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Well, I think at the time, we had everything running as Admin Chef... but we were also throwing so many scripts at it too... eventually got it working with Event Ghost. But I have since restarted everything normally. Running as Admin kept throwing the popup where we couldn't get around it. I think it was just a coincidence.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.294 seconds
Powered by Kunena Forum