Link to home
Start Free TrialLog in
Avatar of al4629740
al4629740Flag for United States of America

asked on

where do i place a batch file for login

where do i place a batch file to run at login?
ASKER CERTIFIED SOLUTION
Avatar of Bartender_1
Bartender_1
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of felipecsl
felipecsl

You can put an entry in the windows registry to make it call the batch file each time the OS starts.
The location is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run.
Inside this Key, create a new String Value and name it. (the name does not matter).
Double click the just created string value and in its value put the full path for your batch file. For example:
"c:\documents and settings\user\Desktop\mybatch.bat".
If it is a domain account, place the batch file in the Windows\sysvol folder, ex: C:\Windows\SYSVOL\domain\scripts -- then identify the name of the batch file in the properties of the User Account in ADUC > Profile tab > logon script.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial