Solved

Shutdow and batchfiles

Posted on 2008-10-10
7
216 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 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