Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Windows API
  4. disabling ctrl+alt+del i vista

disabling ctrl+alt+del i vista

Scheduled Pinned Locked Moved Windows API
c++windows-adminhelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subrat Patnaik
    wrote on last edited by
    #1

    my mfc application needs to disable ctrl+alt+del in vista. for this i tried using registry settings of HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System to set a new dword value of DisableTaskMgr and set it to 1. but the RegCreateKeyEx or RegOpenKeyEx apis are not able to create this key which when set to 1 disables task manager. if i create this subkey manually task manager is disabled. so can i get some help on how to create this sub key in vista.

    P K 2 Replies Last reply
    0
    • S Subrat Patnaik

      my mfc application needs to disable ctrl+alt+del in vista. for this i tried using registry settings of HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System to set a new dword value of DisableTaskMgr and set it to 1. but the RegCreateKeyEx or RegOpenKeyEx apis are not able to create this key which when set to 1 disables task manager. if i create this subkey manually task manager is disabled. so can i get some help on how to create this sub key in vista.

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      Is the process you're trying to create the key from running as Administrator? If not then you will need to elevate the process to access the registry and do so. Hope this helps, --Perspx

      "Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
      BSoD during a Win98 presentation

      1 Reply Last reply
      0
      • S Subrat Patnaik

        my mfc application needs to disable ctrl+alt+del in vista. for this i tried using registry settings of HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System to set a new dword value of DisableTaskMgr and set it to 1. but the RegCreateKeyEx or RegOpenKeyEx apis are not able to create this key which when set to 1 disables task manager. if i create this subkey manually task manager is disabled. so can i get some help on how to create this sub key in vista.

        K Offline
        K Offline
        Khanh David To Tuan
        wrote on last edited by
        #3

        Disabling Task Manager won't disable CTRL ALT DEL under Vista. Even systemwide hooks dont work. And to change the regkeys, rightclick on regedit.exe and "Run as Administrator".

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups