Solved

Disable Ctrl-Break from logon VBScript

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote Access to a Windows 2000 Computer 2 504
Cannot raise Forest Functional Level - Administrative Limit Exceeded 8 1,895
Windows 2000  Domain controller 3 500
website 1 309
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…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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 …

831 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