rajul.konkar 0 Newbie Poster

I am using

Runtime.getRuntime().exec("cmd /c REG ADD HKEY_CURRENT_USER\\SOFTWARE\\MICROSOFT\\WINDOWS\\CURRENTVERSION\\POLICIES\\SYSTEM /v DisableTaskMgr /t REG_DWORD /d 1 /f");

This is a slow process.
though it added the registry key, but it went into long sleep, as if infinite loop.
similarly for Deleting the registry key.
Can anybody tell me the reason for the same.

Thanks Rajul Konkar

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.