Month: June 2015

  • Where are Android APK Files Located?

    Where are Android APK Files Located?

    General Applications: General application are located in /data/app/ However you will require root access to access this directory System Applications: System Applications are located in /system/app/ You will also require root access

  • 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