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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
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
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
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
All Courses

From novice to tech pro — start learning today.