Solved

Shutdow and batchfiles

Posted on 2008-10-10
7
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 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