MakeMeAdmin (メモ)

http://blogs.msdn.com/aaron_margosis/archive/2005/03/11/394244.aspx

-------------------------------------------------------------------
MakeMeAdmin.cmd
実行すると一時的にAdministrator権限になる

-------------------------------------------------------------------
使い方
MakeMeAdmin.cmdを実行するとまず「Administrator」というユーザーのパスワードの入力を求められる。このAdministratorのパスワードは、ProfessionalならばXPをインストールする時に自分で設定されている。
ちなみに普段は「ようこそ画面」に現れないが、セーフモードで起動するとAdministratorも表示される。

パスワードを入力したらEnterを押す。パスワードを入力しても画面上には何も反映されないので、押し間違えには注意。
入力が正しければ、ログインしているユーザーのパスワードの入力を求められる。
入力してEnterを押し、正しければ色が茶色いコマンドプロンプトが表示される。
ここに管理者権限で実行させたい実行ファイル(ショートカットも可)をドラッグアンドドロップしてEnterを押して実行すればOK。

このコマンドプロンプトからではなく普通に実行すると制限ユーザーのまま。

(注)管理者権限でMakeMeAdmin.cmdを実行するとトラブルのでやらないほうがいいらしい。
特に、デフォルトのAdministratorと自分の管理者権限のアカウントしかない
コンピューターで実行するとひどいことになるらしい。
-------------------------------------------------------------------
フォルダオプションでエクスプローラを別プロセス起動にしておけば、
MakeMeAdmin経由でAdministrator権限のエクスプローラも起動できる。

エクスプローラに関しては、PrevBarっていう現在の権限を信号みたいに
User=、Admin=で表示してくれるアドオンツールバーがある。



Installation:

My sincerest apologies, but it’s a manual installation:

1. Download the zip file

2. Extract PrivBar.dll and put it somewhere where all users have Read access to it.

3. At a command prompt (or the Run dialog), run
regsvr32 path\PrivBar.dll
where path is the folder location to which you extracted PrivBar.dll. You need to be running as an administrator or Power User to do this.

4. Extract PrivBarReg.reg from the zip file and import it into the registry. The easiest way is to double-click the file in Explorer. Again, you need to be an administrator or Power User to do this.


PrevBar
http://blogs.msdn.com/aaron_margosis/archive/2004/07/24/195350.aspx