Category: Windows

  • Royal TS Key Sequence Tasks Problem

    Royal TS Key Sequence Tasks Problem

    So recently I had some problems with the Key Sequence Task feature of Royal TS. Sometimes it would work and sometimes it would not. It seemed every time I ran it I got a different error. Upon closer inspection I found that it was not typing put all the code exactly as it appeared under…

  • How to Start an Application as Another User from the Command Line in WIndows

    How to Start an Application as Another User from the Command Line in WIndows

    Via the GUI it is easy however… Recently I had the need to run an application from the command line under a different user context. My computer was not domain joined but I wanted to run the application as a domain user. I achieved it using the line below. runas /netonly /user:sub.domain.tld\username “C:\Windows\System32\mmc.exe C:\windows\System32\dsa.msc /domain=sub.domain.tld…

  • How to turn the Windows Firewall On or Off Via the Command Line.

    How to turn the Windows Firewall On or Off Via the Command Line.

    Via Command.exe Turn Off netsh advfirewall set allprofiles state off Turn On netsh advfirewall set allprofiles state on Via Powershell Turn Off Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False Turn On Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True