Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Customization / May 2008

Tip: Looking for answers? Try searching our database.

Is it Possible to run a batch file upon boot

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam - 04 May 2008 19:40 GMT
With Win98, I created this batch program to trigger on every boot before
windows loaded:

rem This program copies clean dat files and Internet logs

copy c:\windows\copies\index.dat c:\windows\cookies
copy c:\windows\copies\index.dat c:\windows\locals~1\tempor~1\content.ie5
copy c:\windows\copies\index.dat c:\windows\history\history.ie5
copy c:\windows\copies\index.dat c:\windows\history\history.ie5\mshist~1
copy c:\windows\copies\index.dat c:\windows\tempor~1\content.ie5
copy c:\windows\copies\win386.swp c:\windows
copy c:\windows\copies\win386.swp c:\
@DelTree /Y C:\WINDOWS\Temp
@MD C:\Windows\Temp

The index.dat keeps track of all the sites you vist and never gets deleted.
Possible security risk. XP does not use autoexec.bat and config.sys, is
there another way to do this with XP? Thanks.
Leonard Grey - 04 May 2008 20:17 GMT
Are you aware of any virus or spyware that has examined a user's index
files?

---
Leonard Grey
Errare humanum est

> With Win98, I created this batch program to trigger on every boot before
> windows loaded:
[quoted text clipped - 14 lines]
> Possible security risk. XP does not use autoexec.bat and config.sys, is
> there another way to do this with XP? Thanks.
Sam - 04 May 2008 21:16 GMT
| Are you aware of any virus or spyware that has examined a user's index
| files?

At present, no. However, if I were a programmer of spyware company and
wanted to target a particular group(s) in means of gathering surfing habits
and other info to sell or spam you; what better way to find out where you
frequent? It's preventive maintenance. It's likely, sooner or later some
company will pick up upon this wealth of info. Even though I wipe the drive
every 2-3 months, most people won't bother unless something goes wrong and
that could be a few years of complied data they would obtain. Am I overly
paranoid? Maybe... but maybe not.
Leonard Grey - 04 May 2008 21:33 GMT
So far spammers and spyware creators have done extremely well without
the need to search your indexes.

---
Leonard Grey
Errare humanum est

> | Are you aware of any virus or spyware that has examined a user's index
> | files?
[quoted text clipped - 7 lines]
> that could be a few years of complied data they would obtain. Am I overly
> paranoid? Maybe... but maybe not.
Sam - 04 May 2008 22:16 GMT
| So far spammers and spyware creators have done extremely well without
| the need to search your indexes.

That is true, however, why aid them if you can possibly prevent it? What
about hackers with key loggers? A lot of people bookmark sites that they
frequent, so the loggers wouldn't be capable of picking that info up. (I
don't think anyway) Scanning the index file would be a step closer into
matching up and getting into someone's account.  With that aside, and
getting back to my original question. do you know if it is possible to run a
batch file on boot?
ju.c - 04 May 2008 22:19 GMT
There are many ways to do what you want, I can't list them all, but
maybe this is all you need:

--------------------------------------------
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\WinLogon]
"ParseAutoexec"="1"
--------------------------------------------

ju.c

> With Win98, I created this batch program to trigger on every boot
> before windows loaded:
[quoted text clipped - 16 lines]
> deleted. Possible security risk. XP does not use autoexec.bat and
> config.sys, is there another way to do this with XP? Thanks.
Sam - 05 May 2008 00:14 GMT
| There are many ways to do what you want, I can't list them all, but
| maybe this is all you need:
[quoted text clipped - 6 lines]
| "ParseAutoexec"="1"
| --------------------------------------------

So if I understand correctly, this tweak will run before windows is loaded
so the files can be over written? Which autoexec does it parse the (.bat) or
(.nt)?
ju.c - 05 May 2008 00:44 GMT
Yes, read on . . .

Subject: autoexec.bat XP:
http://www.computing.net/answers/programming/autoexecbat-xp/11646.html

STARTUP PROGRAM LOADING
Where do things load from?
How do you stop them?
http://www.aumha.org/a/loads.php

ju.c

> | There are many ways to do what you want, I can't list them all, but
> | maybe this is all you need:
[quoted text clipped - 12 lines]
> (.bat) or
> (.nt)?
Sam - 05 May 2008 18:16 GMT
Thanks, I'll check it out.

| Yes, read on . . .
|
[quoted text clipped - 5 lines]
| How do you stop them?
| http://www.aumha.org/a/loads.php
Shenan Stanley - 05 May 2008 00:06 GMT
> With Win98, I created this batch program to trigger on every boot
> before windows loaded:
[quoted text clipped - 16 lines]
> deleted. Possible security risk. XP does not use autoexec.bat and
> config.sys, is there another way to do this with XP? Thanks.

You can have Startup Scheduled tasks.
Windows XP can use AutoExec.

Signature

Shenan Stanley
    MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.