Skip to main content

Is JQS runnable without admin privileges?

6 replies [Last post]
jaedwi
Offline
Joined: 2007-11-07
Points: 0

I'm no adminstrator on a WinXP,SP2 machine. It is possibel that I can use the jqs.exe without admin privileges.
If I start 'jqs.exe -enable' on command line than log jqs 'JQS requires Administrator privileges.'

Message was edited by: jaedwi

Message was edited by: jaedwi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
lucasz
Offline
Joined: 2009-04-02
Points: 0

IT did runas to install, but can't run as a normal user. The service is running, but Java console completely hides the checkbox for JQS. Why do software developers still create their junk so it requires local admin rights? Grr...

jmelvin
Offline
Joined: 2004-12-01
Points: 0

Note: JQS is a system wide service and thus requires admin privs to turn on/off.
The feature is available for all users, or no users.

jaedwi
Offline
Joined: 2007-11-07
Points: 0

Thanks al lot to all for there quick, informative answers.

My problem stay the same because I will never be a user with admin privelleges at the target machine. I hope this admin-strategie(to use JQS) will changed in future.

Post I will excuse for my late answer. Many thanks from jaedwi.

nlorain
Offline
Joined: 2007-09-28
Points: 0

JQS should be turned on by default on Windows XP. If this is not the case, you should report the problem to Sun

jmelvin
Offline
Joined: 2004-12-01
Points: 0

Exactly, at JRE install/uninstall time the JQS service is installed/uninstalled.
It's on by default in Windows XP, and will be off by default on Vista. This can
be changed using the new JQS option in the Java Control Panel. So, there
should never be a reason to use the 'jqs.exe' command directly. I think some
folks were experimenting with this using a copy of the JRE folder, rather than a
properly installed JRE image.

jmelvin
Offline
Joined: 2004-12-01
Points: 0

JQS runs as a Windows Service. Therefore, you must be admin to install and use it.
By the way, the proper way to stop/start JQS is to use the JQS checkbox in the Java
Control Panel. You really should not be manually invoking the service as it's a private
interface and may likely change over time. But the checkbox will always be there.