• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

need help to run my application without windows logon

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends

I need help to execute my application without windows log on. I have developed a login application which should be executed before windows logon screen .

thanks in advance
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prakasham,
Welcome to the Ranch.

I don't think thats possible.
Why would you want to do it in the first place?
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want an application to run on Windows before you login then you have to run it as a service.
Google for java service wrapper for ways to do this with a Java application.
 
Maneesh Godbole
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even if it's run as a service I doubt if the OPs login screen can be displayed before the OS login screen.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:Even if it's run as a service I doubt if the OPs login screen can be displayed before the OS login screen.



If its running using the Admin account the service will run if the machine is up and no one is logged on. Writing a Java application that interupts the OS logon process is the really hard part.

This is one of those things that would make me ask why you were doing this. Active Directory gives fairly rich authorisation and authentication mechanisms, what else could you need that it doesn't provide? If you want this to run on machines that are not on the network how do you prevent people circumventing your application (by logging in as admin for example)?
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:Even if it's run as a service I doubt if the OPs login screen can be displayed before the OS login screen.



I missed the bit about it being a login application.
If the OP is writing something as Windows specific as this, I would suggest that Java is the wrong language to write it in. It is certainly possible to hook in to the Windows login process, but the APIs that allow this are all written in C/C++.
 
prakasham selamban
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:Hi Prakasham,
Welcome to the Ranch.

I don't think thats possible.
Why would you want to do it in the first place?



Hello friend

Now i am doing finger print based login. If i use my java login screen as a jar file it works fine and its execute before windows log on screen. I want to sample code to change registry values through java code.

Thanks for your previous reply
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

prakasham selamban wrote:

Maneesh Godbole wrote:Hi Prakasham,
Welcome to the Ranch.

I don't think thats possible.
Why would you want to do it in the first place?



Hello friend

Now i am doing finger print based login. If i use my java login screen as a jar file it works fine and its execute before windows log on screen. I want to sample code to change registry values through java code.

Thanks for your previous reply



What you want is a GINA hook. You can't achieve this in Java, realistically you need to use Visual C++. The following is an article describing how to go about customising GINA.

http://msdn.microsoft.com/en-us/magazine/cc163803.aspx

 
Seriously Rick? Seriously? You might as well just read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic