2017年4月25日 星期二

What does 'Log on as a Service' actually mean?

The Log on as a service user right allows accounts to start network services or services that run continuously on a computer, even when no one is logged on to the console.

In short, you only want to provide this right to the accounts that need it - by default, that's the Local System, Local Service and Network Service accounts, because those are what services run under by default.
If you wish to run a service under a different security context (like a service account you create), you would want to grant that service account Log on as a Service rights so that it could run your service without the need for a user to be logged in. The article you link provides IIS and ASP.NET as examples where additional accounts are granted this right; it applies to third-party programs that run as services as well.
If you don't want to you run every service as SYSTEM or NetworkService, you would setup service accounts for individual services and assign them this Log on as a Service right. The main advantage of using service accounts in this way is that if your service is compromised, it's running under the security context of the account running it, rather than the SYSTEM-level security context that SYSTEM and NetworkService have.

如何從 HDD 完整地 Clone 到 SSD 上 (包括原廠還原磁區)

http://www.hkepc.com/forum/viewthread.php?fid=210&tid=1734688&extra=page%3D1

DIY-如何升級筆電SSD與轉移作業系統至SSD - KingKong Bruce記事

2017年4月12日 星期三

Inner Join

Actually these examples are equivalent and neither is a cartesian product. A cartesian product is returned when you join two tables without specifying a join condition, such as in
select *
from t1,t2

Simple way to import data into SQL Server

https://www.mssqltips.com/sqlservertutorial/203/simple-way-to-import-data-into-sql-server/

To begin launch SSMS by clicking SQL Server Management Studio from the Microsoft SQL Server program group.  Upon launching SSMS you will be prompted for a connection; connect to the Database Engine. 

Task -> Import Excel -> create a correct datatype -Done

2017年4月9日 星期日

2017年4月7日 星期五

ESXi install

http://www.smalljacky.com/virtual-achine/vmware/vmware-vsphere-client-installation-link-esxi/

2017年3月30日 星期四

ADF subscribed and un-subscribe

mechanism : patient admit , ADT Lab "ADF subscribed and un-subscribe" (?) and other channel send message to HA do subscribed
Discharge , mirth will send un-subscribe message to HA by read Report Server ProDB

problem : if the Ward discharge and archive the patient action so fast , time for Innovian live db prodb sync to ProDB take longer time.  so mirth channel cannot be detect and have un-subscribe action.