1. ã¯ããã«
ããã¡ã¤ã³ã®ç°ãªããããã¯ã¼ã¯çµç±ãå©ç¨ãããã¡ã¤ã«è»¢éãrobocopyçã§è¡ãéã«ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ãæ´»ç¨ãã¦æ¥æ¬¡ã§èªååæããå ´åãããããã®éã«ãã³ãã³ãããã³ãããæ´»ç¨ããªããããããã¯ã¼ã¯ãã©ã¤ãã§ãã¡ã¤ã«ãã³ãã¼ããã®ã ããå®è¡ã¦ã¼ã¶ã®éãããID/ãã¹ã¯ã¼ããããã¯ã¨ãªãã¹ã ã¼ãºã«å®ç¾ã§ããªããã¨ããããæ¬è¨äºã§ã¯ãèªèº«ã®çµé¨ã«åºã¥ãã¦å¯¾å¦ããäºä¾ã示ãã
Â
2. ãããã¯ã¼ã¯ãã©ã¤ããçµç±ããã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã®å®è¡å¤±æ
ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©å´ã§ãã¦ã¼ã¶ããã°ãªã³ãã¦ãããã©ããã«é¢ãããå®è¡ãããã¾ãã¯ãæä¸ä½ã®ç¹æ¨©ã§å®è¡ããããæå®ãã¦ããã¨ãä»®ã«äºåã«ãããã¯ã¼ã¯ãã©ã¤ããæå®ãã¦ãã¦ãããã®å²å½ããã°ãªã³ãã¦ããã¦ã¼ã¶ã®ã¿ã«ããåãããªãç¶æ ã§ãããèªåå®è¡ããã¦ã¼ã¶ãããã¡ã¤ã«å´ã¯ããããã¯ã¼ã¯ãã©ã¤ãã®å²å½ãªããããã¦ããªããã¨å¤æãçµæçã«ã¿ã¹ã¯ã¯å¤±æããã
ãã¾ãããããã¯ã¼ã¯ãã©ã¤ããããããæå®ãã¦ããããWindowsèªè¨¼æ å ±ã«æ¥ç¶å ã®IPã¨ç´ã¥ãID/ãã¹ã¯ã¼ããç»é²ãã¦ãã¦ãä¸è¨ã¨åæ§ã§ãIDã¨ãã¹ã¯ã¼ãã¯èªåå®è¡ããå´ããè¦ãã°åãããªããã¨ãããã¨ã«ãªãã
ããããã®è§£èª¬ã¯ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã© ãããã¯ã¼ã¯ãã©ã¤ããã§æ¤ç´¢ããã°è©³ç´°ãªæ å ±ã¯ãããã§ãåºã¦ãããã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã§å¼ã³åºããããã®ä¸ã«ä¾ãã°ç´æ¥ã以ä¸ãè¨è¿°ãããã¨ã§è§£æ±ºããã
net use T: \\192.168.10.135\d$ p@ssword /user:test\administrator
robocopy <ã³ãã¼å ãã¹> T:<ã³ãã¼å ãã¹> /MIR
Â
ãããããä¸è¨ã«è¨è¼ãã¦ããnet useã³ãã³ããID/ãã¹ã¯ã¼ããåã£ã¦ããã®ã«ãããããããã·ã¹ãã ã¨ã©ã¼86ã«ããèªè¨¼ã«å¤±æããã±ã¼ã¹ãããããã®å ´åã¯ä»¥ä¸ã®å 容ãèæ ®ããã©ãã«ã·ã¥ã¼ãã£ã³ã°ãè¡ãã
Â
3. net useã®èªè¨¼å¤±æ
ãnet useã³ãã³ããå®è¡ããéã«ã·ã¹ãã ã¨ã©ã¼86ãçºçããå ´åã¯ä»¥ä¸ã«ã¤ãã¦ç¢ºèªãè¡ãã
ãâ ãã¹ã¯ã¼ãã«ãï¼ ããå«ã¾ãã¦ããªãã確èªããã
ãï¼ ã¯ããããã¡ã¤ã«ä¸ã%å¤æ°%ã®ãããªæ±ããã§ããé¢ä¿ã§ã¨ã¹ã±ã¼ãããªããã°ãªããªãæåã¨ãªããå¾ã£ã¦ãä¾ãã°
ã¨è¨è¼ããã¨ããã§ãPCå´ãèªèããã®ã¯
ã§ããããã¹ã¯ã¼ãã«ãï¼ ããå«ã¾ããå ´åã¯ä»¥ä¸ã®ããã«ã¨ã¹ã±ã¼ãã¨ãã¦ã%ããç¶ãã¦è¨è¼ããã¨net useãæåãããããã«ã¯ã©ã¼ãã¼ã·ã§ã³ã¯å¿ è¦ãã©ããã¯å®éã«å®è¡ãã¦æç¡ãå¤æããã ãããã
Â
ãâ¡ãã¼ã«ã«ã»ãã¥ãªãã£ããªã·ã¼ã®å¤æ´ã試è¡ãã
ããã¼ã«ã«ã»ãã¥ãªãã£ããªã·ã¼ã«ãããLAN Manager èªè¨¼ã¬ãã«ããNTLM å¿çã®ã¿ãéä¿¡ãããã«å¤æ´ãããã¨ã§è§£æ±ºããäºä¾ãããã
ããã¼ã«ã«ã»ãã¥ãªãã£ããªã·ã¼ã®å¤æ´ã«éãã¦ã¯ã ãã³ã³ããã¼ã«ããã«ãâã管çãã¼ã«ãâããã¼ã«ã«ã»ãã¥ãªãã£ããªã·ã¼ãâãã»ãã¥ãªãã£ãªãã·ã§ã³ãâããããã¯ã¼ã¯ã»ãã¥ãªãã£ï¼LAN Manager èªè¨¼ã¬ãã«ããããããã£ã§ãæªå®ç¾©ããããNTLM å¿çã®ã¿ãéä¿¡ãããã«å¤æ´ããã«å¤æ´ããã
Â
ããªããä¸åº¦è¨å®ããã¨ç»é¢ä¸ããæªå®ç¾©ã«æ»ããã¨ãã§ããªãã®ã§ãæ»ãéã¯ãã¡ã¤ã«åãæå®ãã¦å®è¡ãããregeditãã§ã¬ã¸ã¹ããªãèµ·åãããHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsaãã®ãLmCompatibilityLevelããæ¶å»ãããã¨ã§æªå®ç¾©ã«æ»ããã¨ãã§ããã
Â
ãâ¢/user:ã«ãã¡ã¤ã³ãæå®ãã
ããããã¯ã¼ã¯æ¥ç¶å ã®ãã¡ã¤ã³ãç°ãªãå ´åã¯net useã®/user:ã®å¾ã«ç¶ãã¦[ãã¡ã¤ã³å]\[ã¦ã¼ã¶ID]ãæå®ããã
ã
ãâ£ã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã§ä½æ¥ãã©ã«ããæå®ãã
ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã«ããã¦ãæä½ã®ç·¨éã®ä¸ã®[éå§(ãªãã·ã§ã³)]ã¨ããé ç®ãããããã®é ç®ã空æ¬ã®å ´åã¯ãã«ã¬ã³ããã£ã¬ã¯ããªããC:\Windows\system32ããè¨å®ãããããããããã®è¨è¼æ¹æ³ã«ãã£ã¦ã¯æå³ãã¦ããªããã¹ãåç §ãã¦ããå¯è½æ§ããããå¾ã£ã¦ã絶対ãã¹ã§ãããå ã®è¨è¼ãè¡ããããããå ã§ãcd %~dp0ããè¨è¼ããããã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã®[éå§(ãªãã·ã§ã³)]å ã«ä½æ¥ãã¹ãè¨è¼ãããã®ããããã¨ãªãã
Â
4. ã¾ã¨ã
ãä»åã¯ã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ãæ±ãä¸ã§ããããã¯ã¼ã¯ãçµç±ãããããã®èªåå®è¡ã«éãnet useã使ç¨æã®ç°å¸¸ã«å¯¾ãããã©ãã«ã·ã¥ã¼ãã£ã³ã°ã®æ¹æ³ã«ã¤ãã¦è¿°ã¹ããå®éã«èªèº«ã¯è¨äºå ã§ç´¹ä»ãããã¹ã¦ã確èªããçµæãæçµçã«è©²å½ããã®ã¯3-â ã®ãã¹ã¯ã¼ãã«ãï¼ ããå ¥ã£ã¦ãããã¨ã§ãã£ããèªèº«ã¯ãã®ã»ãã«ãããããã¡ã¤ã«èªåå®è¡åã«vbsã§ãããã¯ã¼ã¯ãã©ã¤ããèªåèªè¨¼ããã³ã¼ãã¾ã§æ¸ãããããããããããã¯ã¼ã¯ãã©ã¤ããã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©å´ã§å²å½ããã¦ããªãã¨ã¿ãªããããã®æ½çã¯ç©ºåãã«çµãã£ãã
ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©èªä½ãè¨å®é ç®ãè¤æ°ã«è·¨ãçã®å¼·ããã¼ã«ã§ããã¨èªèãã¦ããããã®ä¸ã§ãããããæªãã®ãã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©å´ã§ã®å¶ç´ã§ããã®ãã®åãåããé£ãããä¸çºã§å¦çãéãå ´åãå°ãªãã
ãä»åã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ã1ã¤ã§ã該å½ããåå ã®è§£æ±ºã«ã¤ãªããã°å¹¸ãã§ããã
Â