If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Run program in WinXP home during boot
Hello,
I have a custom written program which displays a license agreement. I would like to run this program during the WinXP boot process as early as possible. It is not currently a service, but I could make it one if need be. I have tried to put the exe in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run section, but the program doesn't run until the user has logged in and WinXP is at the desktop. Any ideas? Thanks Mike McWhinney |
Ads |
#2
|
|||
|
|||
Run program in WinXP home during boot
On Apr 16, 7:15 pm, "eljainc" wrote:
Hello, I have a custom written program which displays a license agreement. I would like to run this program during the WinXP boot process as early as possible. It is not currently a service, but I could make it one if need be. I have tried to put the exe in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run section, but the program doesn't run until the user has logged in and WinXP is at the desktop. Any ideas? Thanks Mike McWhinney How about editing the values in the following registry key: HKLM\Software\Microsoft\WindowsNT\CurrentVersion\W inLogon There are values for LegalNoticeCaption and LegalNoticeText. The text assigned to these two keys will display in a window after the user presses CTRL-ALT-DEL, and require them to click OK to continue. |
#3
|
|||
|
|||
Run program in WinXP home during boot
I am already doing that. I need to have another program run as well
On Apr 17, 8:41 am, Seahawk60B wrote: On Apr 16, 7:15 pm, "eljainc" wrote: Hello, I have a custom written program which displays a license agreement. I would like to run this program during the WinXP boot process as early as possible. It is not currently a service, but I could make it one if need be. I have tried to put the exe in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run section, but the program doesn't run until the user has logged in and WinXP is at the desktop. Any ideas? Thanks MikeMcWhinney How about editing the values in the following registry key: HKLM\Software\Microsoft\WindowsNT\CurrentVersion\W inLogon There are values for LegalNoticeCaption and LegalNoticeText. The text assigned to these two keys will display in a window after the user presses CTRL-ALT-DEL, and require them to click OK to continue. |
#4
|
|||
|
|||
Run program in WinXP home during boot
eljainc wrote :
I have a custom written program which displays a license agreement. I would like to run this program during the WinXP boot process as early as possible. It is not currently a service, but I could make it one if need be. I have tried to put the exe in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run section, but the program doesn't run until the user has logged in and WinXP is at the desktop. Windows XP supports (at least) four scripts: Startup, Shutdown, Logon and Logoff. The Startup-script runs before displaying the Ctrl-Alt-Del box. These scripts can be defined via Active Directory or locally by running gpedit.msc (which unfortunately does not exist in XP Home). The gpedit.msc tool mostly amend changes to the registry, so a startup-script for XP Home can be defined using a registry-file. The registry entries below (between the dashed lines) defines a startup-script named c:\temp\startup.cmd: --------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\System\Scripts\Startup\0\0] "Script"="c:\\temp\\startup.cmd" "Parameters"="" "ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00 ,00,00,00,00,00 --------------------------------------------- -- /klaus |
Thread Tools | |
Display Modes | |
|
|