Sunday, January 05, 2020

java 1.8 32bit

To check java version on window:
1) From "programs and features", if there is 64 bit, it will show 64 bit else just show java.



2) With "java -version" Comman,.if 64 bit, it will show "Java HotSpot 64-bit Server VM", else just show java version.

Saturday, December 14, 2019

Update Microsoft SQL Server 2016 SP2 fail.

Install offline file: SQLServer2016-KB4527378-x64.exe
When i try to update SqlServer2016 Sp1 to SP2 (CU11) it fail. and the error msg show

The version of SQL Server instance MSSQLSERVER does not match the version expected by the SQL Server update. The installed SQL Server product version is 13.0.4001.0, and the expected SQL Server version is 13.2.5026.0.

So  I try to downgrade to 13.0.1601.5 RTM but it is still not match error.
Try to update another patch and  it worked for SQLServer2016-KB4037357-x64.exe (13.0.1708.0 RTM). but from here wanna upgrade to SP2(CU11) is still error.

Then i try install this  and its passed(SQLServer2016SP2-KB4052908-x64-ENU.exe).

Version show as:
Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64)   Mar 18 2018 09:11:49   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: ) 

Then restart and install the above patch. Done!



Thursday, October 15, 2015

Command schtasks

For schtasks command, Do not put "/RP" with u wanna use "/IT". it might not work.

eg.
schtasks /CREATE /S 192.168.1.10 /RU ru_name /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT /f /RL highest

schtasks /CREATE /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT

Wednesday, October 07, 2015

remote problem RDP

WIN10 remote to old protocol.


Thursday, April 23, 2015

Access denied : get-childitem

i get access denied well running get-childitem (powershell) as administrator.
try many way not solve the problem.
RESTART computer solve my problem.

Wednesday, October 29, 2014

Godaddy.com is shit

godaddy service is shit. many people compliant.
and the support more damn. i will never go for it anymore.