dtakias Posted February 15, 2008 Posted February 15, 2008 Is there anyone experienced here with Hitachi Smartboards? I ve got a problem as one of the schools that uses those boards uses Prolific USB to Serial adapters . The only way to make the board work with the computer is to logon as administrator. IF you logon as user there is no connection. I am suspecting that the driver is not able to load properly when login in as a limited user. I have changed a couple of registry settings like "Load and Unload Device Drivers" on Local Security Policy with no luck. Does anyone a way to force the driver to load properly on a limited account? The device name is PRolific GMUS-03
SYNACK Posted February 15, 2008 Posted February 15, 2008 Does the device have some user side software that has to run for it to work like a system tray application? That could be the source of the problem.
projector1 Posted February 15, 2008 Posted February 15, 2008 we had something similar occur, what we did was to create a default user profile (whilst creating the profile attached the device and installed it) I made sure i plugged it into all the usb ports one-one to make sure that it will work on all usb ports.
dtakias Posted February 15, 2008 Author Posted February 15, 2008 IS there a way to run an executable always under the administrator account? If yes how to do it. As the program is on the startup folder I need it to be able to run as administrator under every account...
Jona Posted February 15, 2008 Posted February 15, 2008 runas will allow you to run a program as another account: http://www.ss64.com/nt/runas.html But you probably would do better by getting to the bottom of the issue filemon or regmon might help you to know what specific files are causing the permissions issue.
SYNACK Posted February 15, 2008 Posted February 15, 2008 You may be able to run the client side app as a service, if it required direct hardware access this is probably your only option other than running it under a local admin account. Not sure if the apps work under XP but the instructions are here and the application necessary can be downloaded from here.
mattx Posted February 15, 2008 Posted February 15, 2008 IS there a way to run an executable always under the administrator account? If yes how to do it. As the program is on the startup folder I need it to be able to run as administrator under every account... You can use a script for that - AutoIT has the RunAsSet function: If Not IsAdmin() Then RunAsSet('USER', @Computername, 'PASSWORD') Run('"' & @AutoItExe & '"' & ' "' & @ScriptFullPath & '"', @WorkingDir) Exit EndIf MsgBox(0, 'Message', 'Now running with admin rights.')
mac_shinobi Posted February 15, 2008 Posted February 15, 2008 if you know the local path to where the driver(s) or local apps reside. Then you can right click on the root of that folder ie if it is in c:\program files\hitachi then go back one so that you right click on the hitachi folder and go to the security settings and give authenticated users modify or all access rights to the folder. Only down side is that they are able to delete / un install it. But it cant be that hard to re install it if they manage to get rid of it. That or give them a local power user or admin user account just for the sake of getting it to work.
dtakias Posted February 15, 2008 Author Posted February 15, 2008 @Jona - The only problem is that it will not keep the password and ask everytime for it. I will investigate it with filemon and regmon. @SYNACK - I will try that option, I am preatty sure I've used it in the past when I was trying to run a program as a service on my thinkpad @mattx - That script looks really clever. But how do I run with the program? Could you please explain with an example. @gecko - No matter what security permissions I give the required files I will still get the same problem. I've tried Power Users group but it will still not work as it needs to run as an administrator.
mac_shinobi Posted February 15, 2008 Posted February 15, 2008 @Jona - The only problem is that it will not keep the password and ask everytime for it. I will investigate it with filemon and regmon. @SYNACK - I will try that option, I am preatty sure I've used it in the past when I was trying to run a program as a service on my thinkpad @mattx - That script looks really clever. But how do I run with the program? Could you please explain with an example. @gecko - No matter what security permissions I give the required files I will still get the same problem. I've tried Power Users group but it will still not work as it needs to run as an administrator. Is a local admin account not an option then ?
dtakias Posted February 15, 2008 Author Posted February 15, 2008 I've found this program which does the trick although its free only for private use...http://www.robotronic.de/runasspcEn.html
dtakias Posted February 15, 2008 Author Posted February 15, 2008 Is a local admin account not an option then ? no because they will start messing about with the system
mattx Posted February 15, 2008 Posted February 15, 2008 @mattx - That script looks really clever. But how do I run with the program? Could you please explain with an example. RunAsSet('USER', @Computername, 'PASSWORD') Run("c:\windows\program files\prog\prog.exe", "c:\windows\program files\prog") Exit You can compile the script to an .exe by using the compiler - http://www.hiddensoft.com
dtakias Posted February 18, 2008 Author Posted February 18, 2008 RunAsSet('USER', @Computername, 'PASSWORD') Run("c:\windows\program files\prog\prog.exe", "c:\windows\program files\prog") Exit You can compile the script to an .exe by using the compiler - http://www.hiddensoft.com Do I need to enter something at computername? How do i make it run for all computers of the domain??
dtakias Posted February 18, 2008 Author Posted February 18, 2008 Its OK, It works fine for everyone! cheers:)
mattx Posted February 18, 2008 Posted February 18, 2008 Do I need to enter something at computername? How do i make it run for all computers of the domain?? No, the @computername is the Computer's network name. The example I have given is for a user account on the computer not the domain. So the local user would have to have admin rights. For the domain it would be: RunAsSet ( ["user", "domain", "password" [, options]] )
dtakias Posted February 18, 2008 Author Posted February 18, 2008 Basically I need something that will work for everyone and run on all the machines, local and domain. Local admin and Domain admin have diferent passwords. Where can I get more explanation for this command: RunAsSet ( ["user", "domain", "password" [, options]] ) What is the options for ?
dtakias Posted February 18, 2008 Author Posted February 18, 2008 Maybe if the script can check if the user is logged in domain will run the domain script(with domain info) and if is logged on local computer will run the local script(with local info). is that possible?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now