Shutdow and batchfiles

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 ?
dfriend12Asked:
Who is Participating?
 
TDKDConnect With a Mentor Commented:
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
 
TDKDCommented:
What credentials do the users use? (e.g Active Directory logon?)
0
 
dfriend12Author Commented:
Yes ,Active Directory logon.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
TDKDCommented:
Ok, then I would incorporate the deletion of this key each time a user logs off.

HKEY_CURRENT_USER\Software\Microsoft\Eapol\UserEapInfo
0
 
TDKDCommented:
By way of batch file or script of course.
0
 
TDKDCommented:
you could do this in silent mode so the user would not have to interact at all.
0
 
dfriend12Author Commented:
Where would I place the bathc file ? Is it a registry setting ?
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.