Solved

Windows Login Script

Posted on 2011-09-14
5
368 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:sflory
5 Comments
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36540165
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
 
LVL 6

Expert Comment

by:sconstable
ID: 36540188
For preventing logoff you can handle all of this with group policy.
0
 

Author Comment

by:sflory
ID: 36540224
Thanks 5g6tdcv4.

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

0
 
LVL 13

Accepted Solution

by:
5g6tdcv4 earned 500 total points
ID: 36540232
it would just be the location of the exe
0
 
LVL 9

Expert Comment

by:djpazza
ID: 36541021
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

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to know a list of new AD users that are created during the day. 5 44
EXCHANGE, ACTIVE DIRECTORY 1 41
Hyper V cluster 2 31
block folder inheritance 4 32
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now