I came across this setting in group policy in Windows 7 Ultimate which says "Allow Remote Shell Access" which is "Not Configured" in its default state which means it allows remote shell access in its default state.

However, if I configure it to disable remote windows shell will it help me defend against
most metasploit type attacks which use "reverse_shell" as its payload?