Sunday, April 01, 2018

Install Windows 10 update from the command line

To install Windows 10 update from the command line, do:

usoclient ScanInstallWait


Saturday, February 24, 2018

Display most used applications in Windows 10

To show most used applications in Windows 10 (version 1709), do:

  1. Click on Windows button(mouse) or Windows key, then select Settings ()
  2. Then click on Personalization ()
  3. Then click on Start and turn on Show most used apps ( )

Note: Tested on Windows 10 version 1709

Tuesday, January 23, 2018

PS: Get service account names

PS c:\> Get-WmiObject Win32_Service -Filter "startname like '_NetBiosName_%'" | Format-Table name, startname, startmode

PS: Get DCOM applications running as domain account

PS c:\> Get-WmiObject Win32_DCOMApplicationSetting -Filter "RunAsUser like '_NetBiosName_%'" | Format-Table -Property AppID, RunAsUser, Caption

Monday, January 22, 2018

PS: Get number of applications instances

PS c:\> Get-Process -Name python | Measure-Object

Sunday, June 18, 2017

Ubuntu 17.04 minimal Lubuntu install

Lubuntu is already pretty lightweight but still comes with a lot of applications i don't need. I need a machine that is pretty clean, with just the bare bones with GUI capabilities.

Start with netinstall iso, do text based install with minimal options, then do:

$ sudo apt update
$ sudo apt upgrade
$ sudo tasksel install lubuntu-core
$ sudo reboot

Add browser, I like Chromium, install it like:
$ sudo apt install chromium-browser

Light Docker Settings is not working on using light install, so let us fix it, do:
$ sudo apt install python-gi

I like "Customize Look and Feel" (lxappearance) for adjusting LXDE, to install, do:
$ sudo apt install lxappearance

Additional packages to install, do:
$ sudo apt install xfonts-terminus

Saturday, May 20, 2017

RealVNC Cloud Connect needs port 5900 open to work

I am trying to use RealVNC 6.1.x as a remote control application over the internet. The documentation is not very clear but from my experiments it seems like it needs port 5900 needs to be opened to the internet.

So RealVNC Cloud Connect is not similar to TeamViwer. This can be deal breaker in NAT (home configuration) or small office where only ports 80 and 443 are allowed.