Initiate Shadow Of Remote Connection From command line Server 2012 R2

Launch Command Prompt as Admin To get the session ID for users, use the "qwinsta" command To get connected use "mstsc.exe /shadow:sessionID /control /noConsentPrompt" If you do not include /noConsentPrompt the user will be prompted to click on that says "Your username is requested to connect your session remotely. Do you accept the request? Yes or No"...
Read More

Changing the Status of Windows Firewall via Powershell or Command Prompt

Turning Off Firewall Using PowerShell Run PowerShell as admin, execute the following command. This will turn off your firewall. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False Turning On Firewall Using PowerShell Run PowerShell as admin, execute the following command. This will turn off your firewall. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True Turning Off Firewall Using Windows Command Prompt Run command prompt as admin, and execute the following command: netsh advfirewall set allprofiles state off Turning On Firewall Using Windows Command Prompt Run command prompt as admin, and execute the following command: netsh advfirewall set allprofiles state on...
Read More