Windows 7 Thread, Block cmd.exe - warnings? in Technical; I am looking at the policy
User Config -> Policies -> Admin Templates -> System -> Prevent access to the ...
17th March 2011, 02:13 PM #1
Block cmd.exe - warnings?
I am looking at the policy
User Config -> Policies -> Admin Templates -> System -> Prevent access to the command prompt.
which states:Prevents users from running the interactive command prompt, Cmd.exe. This setting also determines whether batch files (.cmd and .bat) can run on the computer.
If you enable this setting and the user tries to open a command window, the system displays a message explaining that a setting prevents the action.
Note: Do not prevent the computer from running batch files if the computer uses logon, logoff, startup, or shutdown batch file scripts, or for users that use Remote Desktop Services.
I have enabled the policy and chosen No to Disable the command prompt script processing also?
Should this cause any problems with user login scripts that set drive mappings etc?
17th March 2011, 02:33 PM #2
You don't say what server version your on but on windows server 2003 you might find it easier to set up path rules for bat and cmd blocking to prevent them from being run.
Find this under
rather than blocking them via the admin templates-system
user configuration-windows settings-security settings- software restriction policies- additional rules
17th March 2011, 02:54 PM #3
Server is 2003 yes.
I've tested and the login scripts seem to still run OK.
17th March 2011, 03:03 PM #4
If it works don't fix it lol..
Originally Posted by kennysarmy
By burgemaster in forum Windows
Last Post: 21st March 2012, 12:10 PM
By jmair in forum Windows Server 2000/2003
Last Post: 26th March 2010, 08:30 PM
By danboid in forum Windows
Last Post: 19th October 2008, 03:54 PM
By z4ydi in forum Network and Classroom Management
Last Post: 12th February 2008, 02:36 PM
Last Post: 23rd November 2006, 09:33 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)