Link to home
Start Free TrialLog in
Avatar of Stephen Flory
Stephen FloryFlag for United States of America

asked on

Windows Login Script

Hello,

I would like to create a login script that will open up a certain folder upon login. Basically when the user logs into the domain, the script will run and automatically launch exlorer and show the folder.

Would be best if I can prevent shut down of the computer and only logoff as well. Is there any good sites that can help in creating login scripts?

Thanks!
Kei
Avatar of 5g6tdcv4
5g6tdcv4
Flag of United States of America image

explorer.exe \windows
will open the windows folder save it as a batch or cmd

as far as the second part you will want to take a look at autoit
http://www.autoitscript.com/site/autoit/
I can help you with anything autoit related.
For preventing logoff you can handle all of this with group policy.
Avatar of Stephen Flory

ASKER

Thanks 5g6tdcv4.

If I wanted to open up a browser , say Firefox, would l just set the path to the Firefix exe?

ASKER CERTIFIED SOLUTION
Avatar of 5g6tdcv4
5g6tdcv4
Flag of United States of America 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 djpazza
djpazza

Yes path to firefox is fine. If you wanted a specific website add it after

C:\fullpathtofirefox\firefox.exe "http://www.BBC.co.uk"