Login script to remove startup program

B

BEN

Hi,

I want to remove a program EXE which is executed when user logon to the
system (a shortcut is added in the startup folder).

I wrote a simple login script to do it in ONE login but it cannot remove it
because the program is executed.

I can remove it by twice login (1. remove shortcut, 2. remove program) But
how can I do it in ONE login using login script?

The target system is using windows 2000 prof.

Thanks in advance.
 
D

Dave Patrick

You'll need to first kill the process.
http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi,
|
| I want to remove a program EXE which is executed when user logon to the
| system (a shortcut is added in the startup folder).
|
| I wrote a simple login script to do it in ONE login but it cannot remove
it
| because the program is executed.
|
| I can remove it by twice login (1. remove shortcut, 2. remove program) But
| how can I do it in ONE login using login script?
|
| The target system is using windows 2000 prof.
|
| Thanks in advance.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top