Jump to content

Recommended Posts

Posted

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% where

the value is different from Default User witch is the user in

the cmdlines.txt method (i've tried blocking the process and

the %userprofile% var is binded on Default User).

I've red about RunOnce method but i've not understand if

it runs after the logon...

Thanks for answers. :hello:


Posted (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 by Yzöwl

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...