1

My school has blocked cmd and Powershell due to security concerns. Unfortunately for me, this prevents VSC from running code! I love using VSC, so I'm wondering if there's any way I can continue to use it without the powershell or cmd terminals.

clayrock78
  • 27
  • 1
  • Run a tiny VM from a USB pen. – bad_coder Sep 15 '21 at 02:53
  • 1
    I think [this](https://stackoverflow.com/questions/68072535/using-visual-studio-code-without-access-to-powershell) answers your question. – cigien Sep 15 '21 at 03:08
  • Maybe if you can find a terminal emulator to substitute CMD or PowerShell. But from the description of the user policy could an application actually be run on those computers? – bad_coder Sep 15 '21 at 03:22
  • @cigien that wouldn't work either, since cmd/PS are denied at the Group Policy level. OP would need to install an alternative (which considering that they are blocked in the first place, I don't think the admin would be jazzed about). Imagine for the OP system that cmd.exe and powershell.exe don't exist at all. – Braiam Sep 15 '21 at 11:36
  • 2
    As per [What topics can I ask about here?](https://stackoverflow.com/help/on-topic), Questions that asks about "software tools commonly used by programmers" are fine for Stack Overflow. This is about how to set up or run Visual Studio Code without a command prompt or PowerShell. Which is exactly the case that is mentioned in the help page. – Scratte Sep 15 '21 at 12:12
  • 1
    Just to reiterate what has been suggested above; if the policy blocks Powershell and CMD, finding a way to circumvent that policy is probably also a policy violation. – tripleee Sep 15 '21 at 12:51
  • 2
    @tripleee methinks it's not the OP's case - they just want to run a debugger in VSC :) But a good reminder nonetheless – Oleg Valter is with Ukraine Sep 15 '21 at 12:57

0 Answers0