Windows 10 Cleanup

The goal is to cleanup files in the WinSxS folder
Refer: http://www.ghacks.net/2016/03/14/analyze-the-winsxs-folder/

Open a command prompt as Administrator
$ Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

The following kicks off the cleanup, this could take a while:
$ Dism.exe /online /Cleanup-Image /StartComponentCleanup

LDAP from Linux Command Line

> net group /DOMAIN TLAdmin
> net group /DOMAIN TLAdmin
> NET USER loginname /DOMAIN | FIND /I " name "

$ adquery user -p loginname

$ for i in `cat file.txt` do adquery user -p $i; done

You might try ldapsearch too

# Turn off word wrap with -r switch
$ ldapsearch mail=somone@hotmail.com -r

$ ldapsearch sAMAccountName=userId

Windows Activation through Command Line

Windows 10 Udate Activation Key

Refer: http://www.tenforums.com/tutorials/35979-product-key-uninstall-deactivate-windows-10-a.html

Remove the old activation key
C:> slmgr /upk

Clear the registory
C:> slmgr /cpky

Enter the new key - you may need to do through GUI today
C:> slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Activate the key
C:> slmgr /ato

Remove Windows 10 OneDrive

Refer: http://lifehacker.com/how-to-completely-uninstall-onedrive-in-windows-10-1725363532

To completely uninstall OneDrive:

Open Command Prompt in Administrator mode: Right-click on the Windows icon in the taskbar and select Command Prompt (Admin).

Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter.

64-Bit Installation
C:> %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

32-Bit Installation
C:> %SystemRoot%\System32\OneDriveSetup.exe /uninstall

Fixing Video Display of Windows 10 in Parallels

Issue with remote desktop scaling too small, need to adjust Windows 10 to NOT use retina display.

Refer: http://blog.parallels.com/2015/08/18/how-to-configure-the-best-display-settings-for-parallels-desktop-on-a-retina-mac/

2016-05-18_10-31-44_1

2016-05-18_10-31-44_2

2016-05-18_10-31-44_3

Flush DNS Without Rebooting

Mac El Capitan 10.11.1
$ sudo killall –HUP mDNSResponder;say flushed

Mac Yosemite 10.10.4+
$ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed

Mac Yosemite 10.10.3-
$ sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed

Ubuntu:
Note: Ubuntu doesn't cache DNS by default unless you install a DNS cache service manually.
$ sudo /etc/init.d/dns-clean restart

Windows:
Right-click Command Prompt and select Run as Administrator.
Run the following command: ipconfig /flushdns

Important:
Don't forget to change your host file's IP to 10.57.225.54 for halprdgit01.hq.halw.com if you use a Mac or Linux machine and hard-coded the IP into the host file.

Minecraft Server and Direct Connect

Refer: http://gaming.stackexchange.com/questions/133658/how-do-you-make-a-local-lan-server-in-minecraft

Five steps for Direct Connect - No Server Needed

  • Open to LAN
  • It will give you a cache numb er (5 numbers)
  • Find your IPv4 Address using ipconfig in Command prompt (search CMD in search bar)
  • combine to make something like 123.456.7.8:89072
  • use direct connect and go on

Running a Minecraft Server

Using Parallels with a Windows 7 appliance.  It was necessary to download a minecraft_server.exe or the jar equivalent from the minecraft.net site.  Once launched, you could connect to it via localhost on the appliance, since the game was running on the same place and then other machines could connect to it.  It was also necessary to have the appliance bridge the network adapter too.

Remove Windows 10 Upgrade Icon

Refer: http://www.howtogeek.com/218856/how-do-you-disable-the-get-windows-10-icon-shown-in-the-notification-tray/

Bottom Line: Remove this installed packaged, and then hide it if it ever appears again.

KB3035583

Search for this in Install Updates
Windows (KB3035583)