file cannot be loaded because running scripts is disabled on this system

Encounter the following error when running powershell ?
File cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at //go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess

Continue reading “file cannot be loaded because running scripts is disabled on this system”

how to enable | disable administrative shares

If you want to enable or disable administrative shares, do the very simple step by step below :
This step by step will take the following effect :

  • enable C$, D$, E$ or disable C$, D$, E$ (root of each partition)
  • enable ADMIN$ or disable ADMIN$ (%WINDIR%)
  • enable IPC$ or disable IPC$
  • enable PRINT$ or disable PRINT$
  • enable NETLOGON to use the administrative shares

Continue reading “how to enable | disable administrative shares”