I tried to run Windows 7 on a workstation and I don't want the users to use command prompt. So I followed one guide, with group policy, Disable Command Prompt Using Group Policy or Registry Trick.
But now I can not use command prompt any more.
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
But I am the administrator. In fact, it is the only account on the workstation now. I haven't created any users.
I can not use gpedit
or regedit
for the reason above. So the answer here, My Command Prompt is disabled. How can I re-enable it? seems invalid to me.
How can I regain access to command prompt and how should I do the command prompt ban correctly for certain groups of users? I can't see any option to apply the policy on any group.