|
-
Dec 11th, 2000, 02:15 PM
#1
Thread Starter
Lively Member
Any way i can force windows 2000 pro. into locked mode?? and i dont mean sleep, standby, or hibernate.
thanx!
Kid A
18 Year Old Programmer
Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
[vbcode]
'back in the day vb6 code
Private Sub My_Life()
If Hour(Now) > 3 And Hour(Now) < 13 Then
Status = "Sleeping"
Else
Status = "Computing"
End If
End Sub
[/vbcode]
-
Dec 12th, 2000, 02:33 PM
#2
Thread Starter
Lively Member
Well i would do that but the fact of the matter is....
You cant make a program do things like that when it's locked because you could very easily make a proggie that unlocks it.
There has to be a api layin' around sumwhere....
Kid A
18 Year Old Programmer
Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
[vbcode]
'back in the day vb6 code
Private Sub My_Life()
If Hour(Now) > 3 And Hour(Now) < 13 Then
Status = "Sleeping"
Else
Status = "Computing"
End If
End Sub
[/vbcode]
-
Aug 11th, 2001, 10:17 PM
#3
Junior Member
'Add this to your project
'*******************************************
Private Declare Sub LockWorkStation Lib "user32.dll" ()
'Example usage:
Private Sub Command1_Click()
LockWorkStation
End Sub
-
Jan 22nd, 2002, 08:19 AM
#4
Member
Visual Programmer, sending CTRL-ALT-DEL is impossible. I am writing a macrorecorder and this is the only keystroke that can't be performed. I think it's a security issue. Maybe the keystroke is still queued, but ignored.
-
Jan 22nd, 2002, 08:37 AM
#5
Retired VBF Adm1nistrator
Originally posted by hgroot
Visual Programmer, sending CTRL-ALT-DEL is impossible. I am writing a macrorecorder and this is the only keystroke that can't be performed. I think it's a security issue. Maybe the keystroke is still queued, but ignored.
Yeah you can't use a global hook to catch CTRL-ALT-DEL
Its to make sure people don't hack the box or whatever
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 22nd, 2002, 08:51 AM
#6
Member
There's probably still a way to do it. For example, in a Citrix client you can remotely send CTRL-ALT-DEL.
Though not by using a 'simple' sendkey.
-
Jan 22nd, 2002, 08:53 AM
#7
Retired VBF Adm1nistrator
Hmmm.
Well yeah I'd say you can possibly send CTRL-ALT-DEL, because I know Microsoft NetMeeting can do it when you're controlling remote desktops. We use that for administering and fixing remote servers.
You just can't catch it is all... or so I read
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 22nd, 2002, 09:02 AM
#8
Lively Member
But if NetMeeting can send it...
Then NetMeeting can capture it...
-AndySoft
[email protected]
[email protected] (Use the other one first!)
I use: NASM, HTML, Perl, PHP, JavaScript, Batch, TI-Basic (TI-83+), QBasic 1.1, QuickBASIC 4.5, QuickBASIC Extended 7.1, VB-WIN 6 Ent., and the rest of Visual Studio 6 Ent.  And who knows what else!
-
Jan 22nd, 2002, 09:05 AM
#9
Retired VBF Adm1nistrator
I do this from a Windows9x machine. Win9x doesn't have that security "feature"
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 22nd, 2002, 11:14 AM
#10
Black Cat
I was thinking about CTRL-ALT-DEL. It is a security feature built into NT - there's an article on that at MS. What if you replace the keyboard driver or something at a lower level with your own custom version?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 22nd, 2002, 01:16 PM
#11
Retired VBF Adm1nistrator
Hmmm... though you'd have to not pass the keystrokes up to a higher level if it was ctrl-alt-del...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|