A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Run program in WinXP home during boot



 
 
Thread Tools Display Modes
  #1  
Old April 17th 07, 01:15 AM posted to microsoft.public.windowsxp.customize
eljainc
external usenet poster
 
Posts: 60
Default 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  
Old April 17th 07, 02:41 PM posted to microsoft.public.windowsxp.customize
Seahawk60B
external usenet poster
 
Posts: 64
Default 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  
Old April 17th 07, 03:45 PM posted to microsoft.public.windowsxp.customize
eljainc
external usenet poster
 
Posts: 60
Default 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  
Old April 17th 07, 05:01 PM posted to microsoft.public.windowsxp.customize
Klaus Jorgensen
external usenet poster
 
Posts: 35
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.