Solved

Disable Ctrl-Break from logon VBScript

Posted on 2004-08-10
4
435 Views
Last Modified: 2012-05-05
Well, I've got this really nifty VBScrip that runs on all domain users.  It enforces Single Logon rules set up by our enterprise, but canny users have discovered that using Control - Break will get them out of the script and bypass the process that prevents them from having multiple logons.

How do I prevent users from using ctrl-break to stop the script from running?  This is a native Windows 2000 Active Directory environment.  All workstations are 2k.

Thanks in advance.
0
Comment
Question by:Ranidae
[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
  • 3
4 Comments
 
LVL 14

Expert Comment

by:dlwyatt82
ID: 11768503
There are many ways to do this. One that I am familiar with is to use AutoIt (available from http://www.hiddensoft.com ) and use the BlockInput function. I'm sure there is probably an API call you can make from within your VB script to accomplish the same result, but I don't personally know which functions to call.

0
 
LVL 2

Author Comment

by:Ranidae
ID: 11776640
Yeah, I'm really hoping someone can tell me what API to call as I really don't want to get into third party solutions.
0
 
LVL 14

Expert Comment

by:dlwyatt82
ID: 11776665
Actually, if you check out the hiddensoft webpage, the C++ source code to AutoIt is available. You could just look at his implementation of the BlockInput function to find out which API calls you should be researching.
0
 
LVL 14

Accepted Solution

by:
dlwyatt82 earned 350 total points
ID: 11776742
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 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