Kapo Posted September 22, 2005 Posted September 22, 2005 I'm new on unattended installation and i'm sorry for this question.I don't understand how i can execute a command (a batch file),after the user is logged on my machine...for example the Administrator.I would like to do some modification on %userprofile% wherethe value is different from Default User witch is the user inthe cmdlines.txt method (i've tried blocking the process andthe %userprofile% var is binded on Default User).I've red about RunOnce method but i've not understand ifit runs after the logon...Thanks for answers.
Kapo Posted September 22, 2005 Author Posted September 22, 2005 i've better red the RunOnce method and it's an after logonexecution...someone confirm?
cumminbk Posted September 22, 2005 Posted September 22, 2005 Yes i have tried the runonce method for to run a batch file however i was unable to get it to run properly. The file was run before the computer had fully loaded.
Yzöwl Posted September 22, 2005 Posted September 22, 2005 (edited) The RunOnce methods are run upon login. This will usually be on the Administrator account, however it depends more upon your Autologin and Count settings in your winnt.sif.<Edit>If PeterPiper is the name of the first person to login after setup has finished, then the batch file will run after PeterPiper has logged in (entering password if required).</Edit> Edited September 22, 2005 by Yzöwl
Kapo Posted September 22, 2005 Author Posted September 22, 2005 but first or after the logon?<{POST_SNAPBACK}>Yeah this is what i want !I use a series of %userprofile% commandsand i'm wondering if they works.Now i try and reply.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now