Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows Login Script

Posted on 2011-09-14
5
Medium Priority
?
376 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 2000 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

Problems using Powershell and Active Directory?

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

876 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