Solved

Shutdow and batchfiles

Posted on 2008-10-10
7
213 Views
Last Modified: 2010-04-16
I have created four remote accounts which require the ability for different individuals to connect to a wireless network with there own credentials. I tried the following article http://support.microsoft.com/kb/823731.  However, it is inconsistent in breaking the connection for another user. Is it possible to create a batch file and automatically execute the batch file at shutdown ?
0
Comment
Question by:dfriend12
  • 5
  • 2
7 Comments
 
LVL 8

Expert Comment

by:TDKD
ID: 22687435
What credentials do the users use? (e.g Active Directory logon?)
0
 

Author Comment

by:dfriend12
ID: 22688085
Yes ,Active Directory logon.
0
 
LVL 8

Expert Comment

by:TDKD
ID: 22688161
Ok, then I would incorporate the deletion of this key each time a user logs off.

HKEY_CURRENT_USER\Software\Microsoft\Eapol\UserEapInfo
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 8

Expert Comment

by:TDKD
ID: 22688172
By way of batch file or script of course.
0
 
LVL 8

Expert Comment

by:TDKD
ID: 22688181
you could do this in silent mode so the user would not have to interact at all.
0
 

Author Comment

by:dfriend12
ID: 22693596
Where would I place the bathc file ? Is it a registry setting ?
0
 
LVL 8

Accepted Solution

by:
TDKD earned 125 total points
ID: 22701872
You could place the line in the logon script, you can assign a lgon script within the user's profile in "Active Directory. Or, if it is only for a specific logon session you could simply place in as a batch file located on the user's desktop. The user would need to know that they should always logoff the session in question by way of double clicking on this batch file. This way you could also add the "shutdown.exe /l" command at the end of the batch file in order to logoff the user.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

929 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

8 Experts available now in Live!

Get 1:1 Help Now