Jump to content

Looking for Sugestions


Recommended Posts

I need to execute a command the first time a user logs on a computer, but the problem using a Runonce command is that then next unique user to login to the system will not get the command.

I have considered adding a command to the ntuser.dat

Anybody have any sugestions?

R

Link to comment
Share on other sites


HKLM\Software\Microsoft\CurrentVersion\Runonce ?

I'm not sure about this. But without actually looking, that's my guess. Or something similar. Or a self destroying batch file in the "StartUp" folder of the startmenu that delete's itself.

Link to comment
Share on other sites

un-tried suggestion, use runOnce or start-up folder for "Default user"

an other option would be to make a checkfile (e.g. let the script make a %username%.txt file, and check if the textfile does exist in the script)

gr /\/\o\/\/

Link to comment
Share on other sites

Use the StubPath in Active Setup. It is designed for exactly that purpose: one time per user setup. Here is a link to how it is set up for a virus. You should do similar, execpt avoid the auto-propogation. I admit, I did not read the article, but a glance suggested it has enough info, If not ... google.

http://www.megasecurity.org/Trojaninfo/sub....2_startup.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...