Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Disable cmd.exe for standard users on Windows 7 Starter edition.

17 Oct 2016   #1
meprett

Windows 7 Starter 32 bits
 
 
Disable cmd.exe for standard users on Windows 7 Starter edition.

Hello.
I have a machine running Windows 7 Starter edition. I would like to block access to cmd.exe.
Is there a way to accomplish this? (Starter edition does not have gpedit.msc)


My System SpecsSystem Spec
.
17 Oct 2016   #2
samuria

win 8 32 bit
 
 

Welcome to the forum the simple way would be move it from the path so it wouldn't run unless they knew were it was or just rename it
My System SpecsSystem Spec
17 Oct 2016   #3
meprett

Windows 7 Starter 32 bits
 
 

Thank you for your reply.

I tried to rename it and to move it to a different location (logged in as an administrator and also in safe mode) but I get this error:
My System SpecsSystem Spec
.

17 Oct 2016   #4
Alejandro85

Windows 7 Ultimate x64
 
 

Why do you want to do that? What do you plan to accomplish?
It seems, at most, security though obscurity (hence, no security at all) and what is done though cmd can trivially be done by many other means.
My System SpecsSystem Spec
19 Oct 2016   #5
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

The Prevent access to the command prompt policy is related to the DisableCMD DWORD registry value, located at,
Code:
HKCU\Software\Policies\Microsoft\Windows\System
Its would-be default data value is 0. Set its value to 2 to disable the command prompt program. Set its value to 1 to disable the command prompt and its associated script files (.bat and .cmd).

Changes to this registry value will only affect the user of which the change was applied, so you will have to repeat the change for each user as required. Altering the respective HKLM entry does not seem to do anything, i.e., it won’t disable the command prompt for all users.


To disable PowerShell, the only option (only elegant option at least) is to configure the Don't run specified Windows Applications policy. This of course requires group policy.
My System SpecsSystem Spec
20 Oct 2016   #6
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Okay folks I'm confused.

I'm of the understanding that only users with administrator privileges can use CMD Prompt.
If I'm correct all other users should be quest without administrator privileges.

Please unconfuse me.

Jack
My System SpecsSystem Spec
20 Oct 2016   #7
Alejandro85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
I'm of the understanding that only users with administrator privileges can use CMD Prompt.
If I'm correct all other users should be quest without administrator privileges.
Anyone can run a command prompt, it's just one more program and it will run no matter what access level the user has, it's a very common for standards to use it in fact. Of course, like every software, it's restricted in what it can do by the current privileges, so a non-admin might get some "access denied" when it runs an admin-only program within cmd.

Just try it without elevating and it will just work. Modifying anything in your profile will work, but for example creating a file in the windows folder will fail (requires admin), exactly the same as Windows Explorer for instance. Elevating it will allow unrestricted access to the whole system.

Unconfused? Or confused even more?
My System SpecsSystem Spec
21 Oct 2016   #8
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Thank you Alejandro85.

That helps.
I am always the only user on any of my computers so I never tried using CMD Prompt as a Guest.
My understanding has been wrong for a long time.

Thank you for your guidance.
My System SpecsSystem Spec
22 Oct 2016   #9
meprett

Windows 7 Starter 32 bits
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
Why do you want to do that? What do you plan to accomplish?
It seems, at most, security though obscurity (hence, no security at all) and what is done though cmd can trivially be done by many other means.
Hello, I'm trying to accomplish this: Command Prompt - Enable or Disable

The only problem is that the Starter edition of W. 7 presents the aforementioned limitation.
My System SpecsSystem Spec
22 Oct 2016   #10
meprett

Windows 7 Starter 32 bits
 
 

Quote   Quote: Originally Posted by Pyprohly View Post
...Changes to this registry value will only affect the user of which the change was applied, so you will have to repeat the change for each user as required. Altering the respective HKLM entry does not seem to do anything, i.e., it won’t disable the command prompt for all users.


To disable PowerShell, the only option (only elegant option at least) is to configure the Don't run specified Windows Applications policy. This of course requires group policy.
Thank you very much for your reply, my friend.
I thought there might have been a way to disable command prompt for all users. Too bad, I'll have to alter the registry for each account accordingly, then.
My System SpecsSystem Spec
Reply

 Disable cmd.exe for standard users on Windows 7 Starter edition.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows 7 Starter Edition
Hi, I've just bought a netbook with windows 7 starter edition its a HP mini 110-3500 which i was assured by the sales assistant has a good processor (intel Atom N550) anyway it seems to be quite slow respinding to commands i.e. opening up explorer etc. My first question is do all netbooks perform...
General Discussion
Windows 7 Starter Edition
My son received as a gift a Dell Inspiron Mini 10 laptop, with pre-inatalled Windows 7 Starter Edition (according the My Computer Properties). I think he answered a kind of No to a security question (maybe related to Windows Firewall), because now he has an annoyng problem. He tries to make...
System Security
Can't boot into Windows 7 Starter edition
I bought a Samsung n130 and it came with windows 7 starter edition when I booted it up, it let me make a partition with a recovery mode so I could restore Two days ago, I installed mac osx86 on a usb drive (I don't have an external cd drive) I installed it on the other partition, the empty...
General Discussion
Windows 7 Starter Edition - Is It Really That Bad?
Well many of us here will be using the Ultimate versions of Windows 7 RC build but what about other lite versions The Cheapest version of Windows 7 (Starter Edition) has a limitation that it can't run more than three application at a time!!! ...
News
I made my user to be a Standard Users but admin disable
and now I'm stuck. I cant install some programs or drivers because the Admin user is disable. How I did it? I changed my user in the "control panel"to a "Standart User" and I used the "Local users and groups" to disable the Administrator account. How can I now get administration?:huh:
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 06:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App