English
========================================================================
We know that Microsoft add User Account Control in Windows Vista or later. We have some problem that some application needs run with administrator authorization. We will make an example to tell you how to make sure the application with administrator authorization.
1. Mouse right click on "Project" -> "Add" -> "New Item"
2. Select "Application Manifest File"
3. Find the string "asInvoker"
4. Replace the string from "asInvoker" to "requireAdministrator"
5. You will see the shield icon at right down.
中文
========================================================================
有些程式,需要使用管理者權限才能使用,但有時候會忘記使用管理者權限來執行,如何避免此問題,讓每次執行程式都詢問是否要用管理者權限執行。
1. 在專案中,按下滑鼠右鍵,選擇 "Add" -> "New Item .."
2. 選擇 "Application Manifest File"
3. 找到 "asInvoker" 的字樣
4. 替換 "asInvoker" 為 "requireAdministrator"
5. 發現程式圖案右下角,多了一個盾牌的圖案
訂閱:
張貼留言 (Atom)
OS Operating System 作業系統 恐龍書 筆記分享
發現一個作業系統說明的網站, 對於 process vs thread, semaphore vs mutex, deadlock 說明很詳細, 有興趣的人可以去以下的網頁逛逛。 附上網址連結: link link2
-
發現一個作業系統說明的網站, 對於 process vs thread, semaphore vs mutex, deadlock 說明很詳細, 有興趣的人可以去以下的網頁逛逛。 附上網址連結: link link2
-
English ======================================================================== We use sample code to implement the Serial port transmiss...
-
English ======================================================================== Today I will implement how to block keyboard and mouse on...
沒有留言:
張貼留言