ラベル 自動化 の投稿を表示しています。 すべての投稿を表示
ラベル 自動化 の投稿を表示しています。 すべての投稿を表示

2015/06/21

windows user 自動 ログイン

Crl+R

Windows7
control userpasswords2
==>ログインユーザーパスポートが必要、チェックアウトする

control userpasswords2出ない

rundll32 netplwiz.dll,UsersRunDll
 
 
 

2014/12/19

INI-style

構造の単純なテキストファイルであり、設定ファイルの標準です。
このファイルは主にWindowsで使用するが、他のプラットフォームでも使われる。
INIファイルという名前はこのファイルの一般的な拡張子「.INI」から来ている。INIとはinitializationである。
その他に「.CFG」や「.conf」、あるいは「.TXT」も使われる。


パラメータ name=value
セクション  [section]
コメント ; comment text


★ansible lineinfile
This module will search a file for a line, and ensure that it is present or absent.
 This is primarily useful when you want to change a single line in a file only.
 For other cases, see the copy or template modules.

 オプション
 ・backrefs->insertbefore and insertafter will be ignored, and if the regexp doesn't match anywhere in the file,
 the file will be left unchanged.
 If the regexp does match, the last matching line will be replaced by the expanded line parameter.
 ・insertafterーー> the line will be inserted after the specified regular expression

2014/08/09

window commandline sleep hibernate

Sleep Computer
Rundll32.exe powrprof.dll,SetSuspendState Sleep
If it hibernates instead of Sleep: Hibernate must be OFF

■休止状態機能の有効・無効を切り替える方法

コマンドプロンプトを管理者として実行し、次のコマンドを入力する。
  • 有効にする場合
    > powercfg /hibernate on
  • 無効にする場合
    > powercfg /hibernate off
  • 現在の設定を確認する場合
    > powercfg /a