run b4 log on, on XP

Discussion in 'Software Q&A' started by Tushar.bar, Nov 25, 2006.

Thread Status:
Not open for further replies.
  1. Tushar.bar

    Tushar.bar New Member

    Joined:
    Jan 26, 2006
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    0
    hi all.Is it possible to run a prog b4 the log on screen? On XP
     
  2. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    dont think a program can be run, but if it can be programmed to be a service, then it can. Try to tell the exact program you want and maybe some other option or workaround can be suggested.
     
  3. overclocker

    overclocker New Member

    Joined:
    Oct 28, 2006
    Messages:
    115
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    intel inside
    I think you can't launch any program before you enter the log on screen at this stage Windows loads a minimal set of apps. Just a login screen and thats it in regards to service again no. Windows forces the user to login and you can't really have control over that, only when the user logs in manually (or automatic if no login has been setup), can you then start your app, GUI or service. The Service will start automatically as soon as you logon but in
    regards to the GUI, that needs to be placed in the startup folder.
     
  4. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    windows logon is a service, in case you didn't know, but then again, i may be wrong in saying that a service can be started before logon. Saw a few apps recently which asked as follows.
    1. Install as application (will be run when user logs on)
    2. Install as service (will be started with windows even if user not logged on)

    I think filezilla server asks something similar.
    @ Overclocker, go figure. Guess I need to hit google, but gonna get some sleep for now. I am up for 36 hours continuous.
     
  5. overclocker

    overclocker New Member

    Joined:
    Oct 28, 2006
    Messages:
    115
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    intel inside
    How do u say that I did not know "windows logon is a service". Could u tell me clearly actually I can't follow u wat r u trying 2 tell me.
     
  6. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
  7. romeo_8693

    romeo_8693 "The RaCaLaNGeL"©

    Joined:
    Dec 23, 2005
    Messages:
    389
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Goa/Pune
    yes you can...i did it with winamp.just make a batch script and schedule it...it wil start b4 logon...
     
  8. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    I think if u make a shortcut of the desired EXE file here:

    HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run

    then it might start before login screen, but I never tried it ;)
     
  9. Choto Cheeta

    Choto Cheeta Rebooting

    Joined:
    Aug 9, 2004
    Messages:
    6,202
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    220.225.82.33
    hmm... may be it wont...

    all local security and user rights and all those policies are activated after a user is logged in..

    so i think default Security of Windows may gonna prevent it to be lounched before Loging on... but once again... Me too never tried it...
     
  10. OP
    OP
    Tushar.bar

    Tushar.bar New Member

    Joined:
    Jan 26, 2006
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    0

    how to place a shortcut on it suppose i have a 16 bit exe file named as tt.exe please explain how to do it
     
  11. AshishSharma

    AshishSharma Livin' in the ghetto

    Joined:
    May 17, 2006
    Messages:
    309
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Hmm .... Home
    Simple Dude ...

    Open Registry Editor (Regedit.exe)
    Browse to HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Run

    Right click in the right pane with Run Selected
    Click New --> String Value --> Give it the desired name like Test
    Double click the new String "Test" and put in the complete path for the EXE into the Value field and click OK.

    That's it ... but I don't think that's gonna work for most apps unless u give the desired switches and pass necessary arguments ....

    Best option would be to create a service ... Check the Sc command (Service Controller) on your computer to create service ...
     
  12. romeo_8693

    romeo_8693 "The RaCaLaNGeL"©

    Joined:
    Dec 23, 2005
    Messages:
    389
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Goa/Pune
    y take registry trouble guys....the way i did it:
    1>make a playlist of the songs(winamp doesnt take cmdline params)
    2>write a batchfile to start the playlist(just add the path along with name and extension of pl)
    i.e.
    Code:
    @echo off
    c:\pls.m3u
    
    3>save the file as .bat or .cmd
    4>using scheduler,select to run at "when my computer starts"
    5>done!
     
  13. : SPiRiT :

    : SPiRiT : New Member

    Joined:
    Feb 14, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    I have a bad feeling the program that need to be run BEFORE the logon SCREEN is probably a "KEY LOGGER".... kyon????

    Anyways a prog can be run after a successful logon and b4 the explorer is loaded.. i meant one will be in a position to have access to the task manager so use the run command from there...

    Jus a thought...
     
  14. ax3

    ax3 Cool as a CUCUMBAR ! ! !

    Joined:
    Dec 14, 2003
    Messages:
    5,387
    Likes Received:
    5
    Trophy Points:
    38
    nice thread ...........
     
  15. romeo_8693

    romeo_8693 "The RaCaLaNGeL"©

    Joined:
    Dec 23, 2005
    Messages:
    389
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Goa/Pune
    ok if it is wat spirit said then do the registry way :))
     
Thread Status:
Not open for further replies.

Share This Page