How to disable Task manager, esc,windows keys..................
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
Member 4235601 wrote:
If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
Why would anybody do that? The only application which would like do this is some kind of malware.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
When your application running, create one separate thread which will continiously checking for process "Taskmgr.exe", if found then kill the process :-\ . :laugh: Why are you trying to do this ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
You could have your application shut the computer down. Only downside with that is none of the keys will do anything after that :doh: Of course, that's not a serious solution, but it's about as serious as I see your requirements. What valid reason would you have to disable the functions you have asked for?
Life goes very fast. Tomorrow, today is already yesterday.
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
In your registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ System set DisableTaskMgr value to 1 first you have to create a key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ named: "System" with a subkey(REG_DWORD) named "DisableTaskMgr" with value set to 1
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
Will the user want you to do that? Would you want someone to write an application that does that to your computer?
-
In your registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ System set DisableTaskMgr value to 1 first you have to create a key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ named: "System" with a subkey(REG_DWORD) named "DisableTaskMgr" with value set to 1
This value will be overwritten when policies refresh. It's not a permanent solution to the problem.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
agree with Blikkies but in normal case we do not do that.. may be you want to do it for learning purpose.
-
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?
So, you're basically thinking of writing a virus, that will require the .NET framework to be installed! Imagine an error your "virus" might show: "Badass.exe needs the .NET framework 3.0 to be installed. Please install the .NET framework and try again." :doh: At least use the right tool for the right job.
It is a crappy thing, but it's life -^ Carlo Pallini
-
So, you're basically thinking of writing a virus, that will require the .NET framework to be installed! Imagine an error your "virus" might show: "Badass.exe needs the .NET framework 3.0 to be installed. Please install the .NET framework and try again." :doh: At least use the right tool for the right job.
It is a crappy thing, but it's life -^ Carlo Pallini
Rajesh R Subramanian wrote:
"Badass.exe needs the .NET framework 3.0 to be installed. Please install the .NET framework and try infect your PC again."
FTFY 197+Mb virus! Thats got to be some kind of record!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
This value will be overwritten when policies refresh. It's not a permanent solution to the problem.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...Given the speculations about intentions of OP, I think the solution better be temporary :)
-
Given the speculations about intentions of OP, I think the solution better be temporary :)
I wasn't commenting on the orignal post, but ont he wisdom of poking values into the Policies subkey.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
I am want to create a simple windows application,it's some options for i want to add. If u run the application, At the time Task Manager,Esc,windows keys are disabled.how to do?