Wednesday, October 16, 2019

Logoff from a remote machine


Remote Logoff
  1. Open command prompt using remote machine login credentials
  2. Run QUser command to get list of remote sessions active for current logged in user
C:\Users\XYZ>QUser /server:servername
USERNAME              SESSIONNAME        ID  STATE   IDLE TIME  LOGON TIME
user1                                                            2  Disc     13+22:24  9/26/2019 9:48 AM
user2                          rdp-tcp#0                3  Active          .  9/26/2019 9:54 AM
user3 console                                             4  Active       2:14  10/7/2019 7:27 PM

  1. Run Loggoff command
C:\Users\XYZ>Logoff 3 /server:servername

Thursday, January 31, 2019

NPM config proxy behind corporate wall

NPM config proxy behind corporate wall

Edit C:\Users\Username\.npmrc as below:

strict-ssl = false
ca = null


Reference
https://fak3r.com/2015/07/31/howto-use-npm-behind-a-corporate-proxy/

Wednesday, January 2, 2019

Windows Docker Issue "Deny write access to fixed drive not protected by Bitlocker" con Win10 machine: Solved


Anyone facing this annoying issue in Win10 machine while running Windows Docker in Windows container can be solved by following the below steps:



One needs Admin access though.

Registry Settings
·         [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FVE]
"FDVDenyWriteAccess"=dword:00000000

Group Edit Policy
·         [Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption\Fixed Data Drives]
“Deny write access to fixed drives not protected by BitLocker”=Disabled


This perhaps has been fixed in Win 10 17074 Build or higher.