Thursday, November 24, 2016

Upgrade Virtualbox from 5.1.8 to 5.1.10 on Elementary OS 0.4

1. Download the "virtualbox-5.1_5.1.10-112026-Ubuntu-xenial_amd64.deb" to the folder "Downloads"

2. cd /home/<username>/Downloads/

3. sudo dpkg -i virtualbox-5.1_5.1.10-112026-Ubuntu-xenial_amd64.deb

image

Done

It will upgrade the VirtualBox to 5.1.10 and also keep all VM and configuration

(Remark: Make a backup before upgrade is recommended)

Screenshot from 2016-11-23 11_29_43

 

Reference:

http://www.arthurtoday.com/2009/12/ubuntu-deb.html

Print Friendly and PDF
Share/Bookmark

How to find the OS build version number in Windows 10 Enterprise 2015 LTSB (10240)?

You may find that the "winver" did not able to find the build version number in Windows 10 LTSB 2015 (10240), it will show (Build 10240), you cannot find the full OS Build version like 10240.1xxxx which is you able to find in the other Windows 10 Edition like Home and Pro.

image

There are alternative way to find the full OS Build version number:

 

Run a command in command prompt:

reg.exe query "HKLM\software\Microsoft\Windows NT\currentversion" /v BuildLabEx

 

image

This example will show you the full OS build version is 10240.17184

Print Friendly and PDF
Share/Bookmark

Sunday, November 20, 2016

How to apply Windows hotfix, patch... on a Windows without connect to network which is running on VMware ESXi?

Section 1 – To allow copy and paste text between administrator computer and VM via vSphere client

1.       Poweroff the Windows Server (VM)

2.       Change the following configuration parameters to allow copy and paste “text” via vSphere client

clip_image002

Section 2 – Use MBSA standalone to check a MS server for patch status and also transfer file between administrator computer and VM via vSphere client by mount the ISO file

3.       Download “Folder2Iso” (http://www.softpedia.com/get/CD-DVD-Tools/CD-DVD-Images-Utils/Folder2ISO.shtml)

4.       Download MBSA 2.3 and related files:

           a. Download Microsoft Baseline Security Analyzer 2.3 (for IT Professionals) - http://www.microsoft.com/en-us/download/details.aspx?id=7558&tduid=(4c7cdc0dd0c55c8a10d5e21f1173f9a1)(256380)(2459594)(TnL5HPStwNw-Vt9plCUUmDbMRMjz_kd1Lg)()

           b. Download Security update catalog (wsusscn2.cab) from : go.microsoft.com/fwlink/?LinkId=76054

Remark: You need to keep using the latest one before run the offline scan

           c. Windows Update Redistribution Catalogue (wuredist.cab) located at http://update.microsoft.com/redist/wuredist.cab

5.       Use Folder2Iso to convert those MBSA 2.3 files into ISO

6.       Power on the Windows Server (VM)

7.       Mount the ISO via vSphere client  

8.       Copy file from virtual CD to the server and install MBSA 2.3

9.       After the installation of MBSA complete, copy the wsusscn2.cab and wuredist.cab to “C:\Program Files\Microsoft Baseline Security Analyzer 2”

And then, go to command promote to run:

MBSACLI /xmlout /catalog “C:\Program Files\Microsoft Baseline Security Analyzer 2\wsusscn2.cab” /unicode >updates.xml

10.   Open the “updates.xml” by notepad and copy all text inside

clip_image004

Remark: You need to make sure all line being copied. Since the line and content in the files (updates.xml) may over the limit of VMware vSphere client able to copy, you need to check your result in file size very carefully. (I copy all text by separate the file into different parts – I did not copy all line in one time)

11.   Paste all text into a file which is on your machine and rename it to “updates.xml”

12.   Download the “Getupdate.ps1” from https://deploywindows.info/2015/01/22/automate-mbsa-scan-and-download-missing-patches/ or

https://powershell.org/forums/topic/script-to-automate-mbsa-scan-and-download-missing-patches/

Modify the line 31, to remove the “#” and save the file to “Getupdate.ps1”

clip_image005

Copy the Run the “updates.xml” and “Getupdate.ps1” into the C:\temp and run the “Getupdate.ps1” under PowerShell to download all necessary hotfix, patch….

Remark: If you running the download from Windows 7 machine, you will need to upgrade your PowerShell verison 5 (By download and install Windows Management Framework 5.0 - https://www.microsoft.com/en-us/download/details.aspx?id=50395)

13.   Use Folder2Iso to convert those hotfix, patch files into ISO file

14.   Mount the ISO via vSphere client

15. Copy all files to C:\temp

16.  Install those hotfix by run the “_install.bat”

Remark: If you are using Windows Server 2012 R2, you will need to do the following change of the “_install.bat”

Change "start /wait pkgmgr.exe /ip /m:" to "dism /online /Add-Package /PackagPath:C:\temp\"

Change "nostart" to "norestart"

Remove "/l:%SystemRoot%\Temp\*****.log"

clip_image006

clip_image008

17. You can go to “Programs and Features” – View installed updates to verify those hotfix, patch being installed:

clip_image010

18. Reboot the Server

19. Run the MBSA scan again until no missing patch have been found

Reference:

http://clintboessen.blogspot.hk/2009/11/perform-offline-mbsa-scan.html

http://www.breaknenter.org/2011/02/how-to-use-mbsa-standalone-to-check-a-ms-server-for-patch-status/

http://arnavsharma.net/windows-clients/understanding-mbsa-23-microsoft-baseline-security-analyzer

https://deploywindows.info/2015/01/22/automate-mbsa-scan-and-download-missing-patches/

https://blogs.technet.microsoft.com/askcore/2011/02/15/how-to-use-dism-to-install-a-hotfix-from-within-windows/ Print Friendly and PDF
Share/Bookmark

Windows 10 cannot get IP address from DHCP

A Windows 10 laptop cannot get IP address from DHCP via Wired Network and Wireless Network.

It keep show the DNS is 150.210.1.2 and you cannot find this IP address setting in the GUI

image

 

Solution:

1. Run

netsh int ip reset c:\resetlog.txt
2. Reboot the machine
 
For more detail:
https://support.microsoft.com/en-us/kb/299357
 
 
 
Print Friendly and PDF
Share/Bookmark

Saturday, November 19, 2016

Windows 10 Insider Preview (Creators Update) Build 14971 for PC released on Fast Ring

image

#Take the lead

#Do cool things

#Do great things

#LIFE IS LIKE SUSHI

#dream again

#change destiny

Print Friendly and PDF
Share/Bookmark

Thursday, November 10, 2016

Windows 10 Insider Preview (Creators Update) Build 14965 for PC and Mobile released on Fast Ring

image

If you join the Windows 10's November 2016 Bug Bash with Insiders, you should already install this release today......

Print Friendly and PDF
Share/Bookmark

Windows 10 Mobile (10.0.14393.448) released today

image

I install it on my Microsoft Lumia 640 (AT&T) and running for a day.

Print Friendly and PDF
Share/Bookmark

Sunday, November 6, 2016

Access Denied when using a new create local administrators account to Connect to Administrative Shares C$

Access Denied when using a new create local administrators account to Connect to Administrative Shares C$, D$

Problem:

When using a new create local administrators account to Connect to Administrative Shares C$, D$

You receive the following error:

clip_image001

But you able to use default local administrator account (administrator) to access C$ successfully

Reason:

UAC enabled

clip_image003

Solution:

Disable the UAC remote restrictions by adding the registry value (REG_DWORD) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System “LocalAccountTokenFilterPolicy” to 1

No Reboot is required

Test on Windows Server 2008 R2 SP1 and Windows Server 2012 R2

Reference:

https://helgeklein.com/blog/2011/08/access-denied-trying-to-connect-to-administrative-shares-on-windows-7/ Print Friendly and PDF
Share/Bookmark

Fresh install Windows 7 with SP1 - Post essential and necessary updates (Convenience rollup update for Windows 7 and few patches) and software components

For a new fresh install Windows 7, the following update will required to apply:

1. KB3020369

2. KB3102810

3. KB3125574

4. KB3172605

5. IE 11

6. .Net Framework 4.6.1

7. Microsoft Security Essential (If not antivirus/antimalware being install) Print Friendly and PDF
Share/Bookmark

Saturday, November 5, 2016

(Solution) Power button become shutdown since Windows Insider Build 14942 (Also affect the other build 14951, 14955 and 14959)

The problem is caused by the "power setting - When I press the power button" change to "Shutdown". (I hit this issue on my Chuwi Vi8 Plus tablet)

image

 

The solution is change the "power setting - When I press the power button" to "Sleep"

Print Friendly and PDF
Share/Bookmark

Change fixed DNS setting via PSExec to deploy and run the PowerShell

Change fixed DNS setting via PSExec and PowerShell

1. Copy the "change_dns.ps1" to the target machine "C:\source\PSTools\change_dns\"

The "change_dns.ps1" content:

$dnsservers = "8.8.8.8"
$computers = Get-Content env:computername
foreach ($comp in $computers)
{

$adapters = gwmi -q "select * from win32_networkadapterconfiguration where ipenabled='true'" -ComputerName $comp
foreach ($adapter in $adapters)
{
  $adapter.setDNSServerSearchOrder($dnsservers)
}
 
}


2. PsExec command to run the PowerShell remotely:
(Copy the "change_dns.ps1" into the same folder of PSExec)

C:\source\PSTools\change_dns>PSExec \\Computer1 -u "admin" -p PASSWORD PowerShell -NoProfile -ExecutionPolicy Bypass C:\source\PSTools\change_dns\change_dns.ps1


If success, will return the following value:


PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0

 

PowerShell exited on Computer1 with error code 0.


Reference:
http://stackoverflow.com/questions/1786185/run-powershell-scripts-on-remote-pc
http://blog.danskingdom.com/allow-others-to-run-your-powershell-scripts-from-a-batch-file-they-will-love-you-for-it/
https://community.spiceworks.com/topic/385832-need-to-change-dns-servers-remotely-on-workstations-no-dhcp-server

Print Friendly and PDF
Share/Bookmark

Friday, November 4, 2016

Windows 10 Insider Preview (RS2) Build 14959 for PC and Mobile released on Fast Ring

image

It just release and installing on my Nokia Lumia 636, Chuwi Vi8 Plus tablet and Lenovo X61 now..

#Take the lead

#Do cool things

#Do great things

#LIFE IS LIKE SUSHI

#dream again

#change destiny Print Friendly and PDF
Share/Bookmark

Thursday, November 3, 2016

Android Oct Security Update and patch for Note 4 (SM-N910U) released

The update package detail:

image

 

The Security Update level is 2016-10-1:

image

 

It is important to apply Android Security Patch these day, especially you are using Android Pay.

Thank you Samsung to keep release Android monthly security patch to Notes 4.

Print Friendly and PDF
Share/Bookmark