Solved

Disable Ctrl-Break from logon VBScript

Posted on 2004-08-10
4
432 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
IS THERE A TOOL THAT CAN TELL YOU ALL SERVICE ACCOUNTS THAT ARE RUNNING ON A SERVER? 6 132
auto copy 8 618
IP Addresses List On Network 8 290
no logon server available 8 159
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…
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

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