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
sfloryAsked:
Who is Participating?
 
5g6tdcv4Connect With a Mentor Commented:
it would just be the location of the exe
0
 
5g6tdcv4Commented:
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.
0
 
sconstableCommented:
For preventing logoff you can handle all of this with group policy.
0
 
sfloryAuthor Commented:
Thanks 5g6tdcv4.

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

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

C:\fullpathtofirefox\firefox.exe "http://www.BBC.co.uk"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.