Solved

Windows Login Script

Posted on 2011-09-14
5
370 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

820 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