#author("2022-08-10T09:47:11+09:00","default:okada","okada") #author("2023-10-06T22:54:22+09:00","default:okada","okada") *Windows10 Tips [#va278d40] RIGHT:¹¹¿·Æü&lastmod(); **Hyper-V¤Î¥Í¥Ã¥È¥ï¡¼¥¯¹½À® [#p092c41b] Windows¤ÎHyper-V¤ÏVMÍѤÎNIC¤ÈHOSTOSÍѤÎNIC2Ë礢¤Ã¤¿¤Û¤¦¤¦¤¬Îɤ¤¡£1Ëç¤Ç¤â¹½À®¤Ç¤¤ë¤¬¡¢ESXi¤ÎNIC¤ò[[¥×¥í¥ß¥¹¥¥ã¥¹¡¦¥â¡¼¥É¤ò͸ú(LinkÀè)>turboLinux_White Box Enterprise Linux_Fedora Core_Red Hat Memo/VMwareESXi#pmode]]¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¡£ &color(red){¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥À¥×¥¿(vEthernet)¤ÎDNS¤ÎÀßÄê¤ò¼êÆ°¤ÇÀßÄꤹ¤ë¤ÈDNS¤¬ÍøÍѤǤ¤ë.}; ¤½¤Î¤Û¤«¤È¤·¤ÆIPV6¤ò̵¸ú¤Ë¤·¤Æ¤â¡¢ÀßÄêÊѹ¹»þ¤Ë͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ &ref("./²¾ÁÛ.png"); **WindowsPC¤Ø¤Î¥ê¥â¡¼¥È¥·¥ó¥Ü¥ê¥Ã¥¯¤ÎºîÀ® [#c365d266] ***¥ê¥â¡¼¥È¤Ø¤Î¥ê¥ó¥¯µö²Ä [#y4d5c90f] (¥¯¥é¥¤¥¢¥ó¥ÈPC¤Ç¼Â¹Ô:¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ï´ÉÍý¼Ô¸¢¸Â¤Ç³«¤¯) C:\WINDOWS\system32>fsutil behavior query symlinkevaluation ¥í¡¼¥«¥ë¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥í¡¼¥«¥ë¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥ê¥â¡¼¥È¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï̵¸ú¤Ç¤¹¡£ ¥ê¥â¡¼¥È¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï̵¸ú¤Ç¤¹¡£ ''¥ê¥â¡¼¥È¤«¤é ¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Î͸ú²½'' C:\WINDOWS\system32>fsutil behavior set symlinkevaluation r2l:1 ¢«remote to local : 1(͸ú) C:\WINDOWS\system32>fsutil behavior query symlinkevaluation ¥í¡¼¥«¥ë¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥í¡¼¥«¥ë¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥ê¥â¡¼¥È¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£¡¡¢«¤³¤³ ¥ê¥â¡¼¥È¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï̵¸ú¤Ç¤¹¡£ ***¥ê¥â¡¼¥È¥·¥ó¥Ü¥ê¥Ã¥¯¤ÎºîÀ® [#r0ac875e] -¥ê¥â¡¼¥ÈPC¡¡IP¡§192.168.0.112 -¥ê¥â¡¼¥ÈPC¶¦ÍÀßÄê¥Õ¥©¥ë¥À¡§\K-Pacs-Server\Database -¥¯¥é¥¤¥¢¥ó¥ÈPC(¥í¡¼¥«¥ëPC)¤Î¥ê¥ó¥¯¥Õ¥©¥ë¥À̾¡§C:\KPacs\K-Pacs-Server\Database C:\KPacs\K-Pacs-Server>mklink /d C:\KPacs\K-Pacs-Server\Database \\192.168.0.112\K-Pacs-Server\Database C:\KPacs\K-Pacs-Server\Database <<===>> \\192.168.0.112\Database ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤¬ºîÀ®¤µ¤ì¤Þ¤·¤¿ ***¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î³Îǧ [#r89a7815] ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ë¤Æ C:\KPacs>dir /a ¥É¥é¥¤¥Ö C ¤Î¥Ü¥ê¥å¡¼¥à ¥é¥Ù¥ë¤¬¤¢¤ê¤Þ¤»¤ó¡£ ¥Ü¥ê¥å¡¼¥à ¥·¥ê¥¢¥ëÈÖ¹æ¤Ï 26AA-C2F7 ¤Ç¤¹ C:\KPacs ¤Î¥Ç¥£¥ì¥¯¥È¥ê 2020/11/27 12:08 <DIR> . 2020/11/27 12:08 <DIR> .. (ά) 2007/11/09 21:49 1,287,680 dicomdll.dll 2005/08/01 19:28 471,040 findscu.exe 2007/12/10 18:36 54,710 german.ini 2020/11/27 11:37 <SYMLINKD> Imagebox [\\192.168.0.206\Imagebox] ¢«¤³¤³ 2007/08/15 09:30 503,808 iQ.dll 2007/04/22 21:22 9,628 K-PACS EULA Evaluation.txt &color(red){¥Õ¥©¥ë¥À¤Î¶¦Í¤Ê¤Î¤Ç¡¢Ê£¿ô¤ÎPC¤«¤é°ì¤Ä¤ÎPC¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òºîÀ®¤¹¤ë¤³¤È¤¬½ÐÍè¤ë¡£RemoteApp¤Ç¤ÏÊ£¿ô¤ÎPC¤«¤éƱ»þ¤ËÍøÍѤǤ¤Ê¤¤¡£}; ***Local¥Õ¥©¥ë¥À´Ö¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ [#ieb0ecc8] ¡ÖE:\Stable_Diffusion_Output¡×¡Ê¼ÂÂÎ)¤Ë¡ÖC:\SD\stable-diffusion-webui_v1.6.0\outputs¡× ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ºîÀ® C:\SD\stable-diffusion-webui_v1.6.0>mklink /d C:\SD\stable-diffusion-webui_v1.6.0\outputs E:\Stable_Diffusion_Output C:\SD\stable-diffusion-webui_v1.6.0\outputs <<===>> E:\Stable_Diffusion_Output ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤¬ºîÀ®¤µ¤ì¤Þ¤·¤¿¡¡ **&aname(RemoteApp){Windows10¤ÇRemoteApp}; [#j25f9fa0] Windows10 Pro¤ÇRemoteApp¤Î¥µ¡¼¥Ð¤ËÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£RemoteApp¤È¤ÏÀܳ¤·¤¿Àè¤Î¥µ¡¼¥Ð¤Ç¼Â¹Ô¤·¤¿¥¢¥×¥ê¤Î¥¦¥£¥ó¥É¥¦¤À¤±¤ò¥¯¥é¥¤¥¢¥ó¥È¦¤Ëɽ¼¨¤¹¤ëµ¡Ç½¡£ ***¼ê½ç [#ycc8bd83] ''¥µ¡¼¥Ð¦'' RemoteApp¤ò͸ú²½¤¹¤ë¤Ë¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Û¥¹¥È¤È¤Ê¤ëWindows¦¤Ç¥ê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×¤ò͸ú²½¤¹¤ë¡£ ¥ì¥¸¥¹¥È¥ê¤òÊѹ¹ ¥¡¼¡§HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TsAppAllowList ÃͤÎ̾Á°¡§fDisableAllowList ÃͤμïÎࡧREG_DWORD ÃͤΥǡ¼¥¿¡§1 ''¥¯¥é¥¤¥¢¥ó¥È¦'' °Ê²¼¤Î¤è¤¦¤Ê¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Æ¡£¡Ö.rdp¡×¤ÇÊݸ¤¹¤ë¡£ full address:s:ÀܳÀè¥Û¥¹¥È̾orIP¥¢¥É¥ì¥¹ remoteapplicationmode:i:1 remoteapplicationprogram:s:"µ¯Æ°¤¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥Õ¥ë¥Ñ¥¹" remoteapplicationname:s:"¥¢¥×¥ê¥±¡¼¥·¥ç¥ó̾¡ÊǤ°Õ¤Î̾Á°¡Ë" remoteapplicationcmdline:s:"¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¡ÊǤ°Õ¡Ë" ''¥á¥âÄ¢¤ÎÎã'' remote_notepad.rdp full address:s:192.168.0.213 remoteapplicationmode:i:1 remoteapplicationprogram:s:"C:\Windows\System32\notepad.exe" remoteapplicationname:s:"¥ê¥â¡¼¥È¤Î¥á¥âÄ¢" remoteapplicationcmdline:s:"" ***K-KACS¤Îµ¯Æ°VBS(Host¤Ë¥¤¥ó¥¹¥È¡¼¥ë) [#yb37c418] Set WshShell = WScript.CreateObject("WScript.Shell") 'µ¯Æ°¤·¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤3¤Ä¥×¥í¥°¥é¥à¤òÄä»ß Call WshShell.Run( "taskkill /f /im k-pacs.exe",0, True ) Call WshShell.Run( "taskkill /f /im kpserver.exe",0, True ) Call WshShell.Run( "taskkill /f /im kpserveradmin.exe" ,0,True ) ' WshShell.Run: Â裲°ú¿ô:0¤Ï¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤òɽ¼¨¤·¤Ê¤¤¡¡Â裳°ú¿ô¡§True¤ÏƱ´ü¡¢Àè¤Ë¥×¥í¥°¥é¥à¤¬¿Ê¤Þ¤Ê¤¤¡£ Call WshShell.Run( "C:\KPacs\k-pacs.exe", , False ) -¾¤ËK-PACS¤¬µ¯Æ°¤·¤Æ¤ë¾ì¹ç¤Ï¤½¤ì¤òKill¤·¤Æ¤«¤éµ¯Æ°¤¹¤ë ***µ¯Æ°²èÌÌ [#l2ee1718] &ref("./µ¯Æ°²èÌÌ1.png"); &ref("./µ¯Æ°²èÌÌ2.png"); &ref("./µ¯Æ°²èÌÌ3.png"); ***»²¹Í [#n0315809] -https://blog.yamamoworks.net/entry/2019/06/23/Windows10%E3%81%A7RemoteApp%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96 **Windows10¤Î¥¤¥ó¥¹¥È¡¼¥ë»þHDD¤Ë°ì¤Ä¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤·¤«ºîÀ®¤·¤Ê¤¤ÊýË¡ [#vd52ddcc] MBR¤Î¤ß²Äǽ¡¢GTP¤Ç¤ÏÉÔ²Äǽ -¡ ¥¤¥ó¥¹¥È¡¼¥ëÃæ°Ê²¼¤Î²èÌ̤ǡÖSIFT+F10¡×¤ò²¡¤·¡¢¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È²èÌ̤òɽ¼¨¡£ &ref("./DOS.png"); -¢ diskpart -£ select disk 0 -¤ list disk -¥ convert mbr -¦ Îΰè³ÎÊÝ~ create partition primary size=60000¡Ê¥µ¥¤¥º»ØÄê:ñ°ÌMB)~ (create partition primary :Á´¥Ñ¡¼¥Æ¥£¥·¥ç¥ó) -§¤³¤Î¸åGUI¤ËÌá¤ê¡Ö¿·µ¬¡×¤Ç¤¹¤Ù¤Æ¤òÁªÂò -------------------------- -°Ê²¼¤ÏÉÔÍסʻ²¹Í¤Þ¤Ç¤Ë¥Õ¥©¡¼¥Þ¥Ã¥ÈÊýË¡) format fs=ntfs label="Windows" quick **¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë¤¬Èóɽ¼¨¤Î¤È¤¤ÎÊѹ¹ÊýË¡ [#peb2bd9d] &ref("./¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë1.png"); &ref("./¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë2.png"); ***¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë¤òCUI¤ÇÊѹ¹¤¹¤ë¼ê½ç [#p1523511] -´ÉÍý¼Ô¸¢¸Â¤ÇPowerShell¤òµ¯Æ° -³Îǧ PS C:\WINDOWS\system32> Get-NetConnectionProfile Name : ¥Í¥Ã¥È¥ï¡¼¥¯ 2 InterfaceAlias : Ethernet0(ÂçÄÔLAN) InterfaceIndex : 7 NetworkCategory : Private¡¡¡¡¡¡¡¡ ¢«¤³¤³ IPv4Connectivity : Internet IPv6Connectivity : NoTraffic Name : ¼±Ê̤µ¤ì¤Æ¤¤¤Ê¤¤¥Í¥Ã¥È¥ï¡¼¥¯ InterfaceAlias : Ethernet1(G-LAN) InterfaceIndex : 12 NetworkCategory : Public¡¡¡¡¡¡¡¡ ¢«¤³¤³ IPv4Connectivity : NoTraffic IPv6Connectivity : NoTraffic -Public¤«¤éPrivate¤ËÊѹ¹ PS C:\WINDOWS\system32> Set-NetConnectionProfile -InterfaceIndex 12 -NetworkCategory Private -³Îǧ PS C:\WINDOWS\system32> Get-NetConnectionProfile Name : ¥Í¥Ã¥È¥ï¡¼¥¯ 2 InterfaceAlias : Ethernet0(ÂçÄÔLAN) InterfaceIndex : 7 NetworkCategory : Private IPv4Connectivity : Internet IPv6Connectivity : NoTraffic Name : ¼±Ê̤µ¤ì¤Æ¤¤¤Ê¤¤¥Í¥Ã¥È¥ï¡¼¥¯ InterfaceAlias : Ethernet1(G-LAN) InterfaceIndex : 12 NetworkCategory : Private¡¡¡¡¡¡¢«Public¤«¤éPrivate¤ËÊѹ¹ IPv4Connectivity : LocalNetwork IPv6Connectivity : NoTraffic ¡Ö¼±Ê̤µ¤ì¤Æ¤¤¤Ê¤¤¥Í¥Ã¥È¥ï¡¼¥¯¡×¤Èɽ¼¨¤¹¤ë¤Î¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤òÀßÄꤷ¤Ê¤¤¾ì¹ç¤âɽ¼¨¤¹¤ë¤è¤¦¤À¡£ ***¾åµ¤ÎÊýË¡¤Ï¥ê¥Ö¡¼¥È¤¹¤ë¤È¤â¤È¤ËÌá¤ë¤Î¤Ç¡Ö¥»¥¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¡×¤ÇÊѹ¹ [#yf69bc32] ¥»¥¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¤òµ¯Æ° -secpol.msc &ref("./¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë3.png"); **¡Úwindows¡Û¥µ¡¼¥Ó¥¹ÅÐÏ¿¥³¥Þ¥ó¥É sc [#u02c3163] ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È´ÉÍý¼Ô¤Çµ¯Æ° -Äɲà C:\WINDOWS\system32>sc create Conquest(Hospital1) binPath= "D:\hospital1\ConquestDICOMServer.exe"~ [SC] CreateService SUCCESS -ºï½ü d:\hospital1>sc delete Conquest(Hospital1)~ [SC] DeleteService SUCCESS &color(red){¡ÈbinPath= ¡È¤Î¸å¤í¤Ë¤Ï£±¤Ä¥¹¥Ú¡¼¥¹¤¬É¬Í×}; **²óÉü¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Îºï½ü [#vb8582a8] C:\WINDOWS\system32>diskpart (ά) DISKPART> list disk ¥Ç¥£¥¹¥¯ ¾õÂÖ ¥µ¥¤¥º ¶õ¤ ¥À¥¤¥Ê GPT ### ¥ß¥Ã¥¯ ------------ ------------- ------- ------- --- --- * ¥Ç¥£¥¹¥¯ 0 ¥ª¥ó¥é¥¤¥ó 32 GB 8 GB ¥Ç¥£¥¹¥¯ 1 ¥ª¥ó¥é¥¤¥ó 28 GB 1024 KB DISKPART> list partition Partition ### Type Size Offset ------------- ------------------ ------- ------- Partition 1 ¥×¥é¥¤¥Þ¥ê 100 MB 1024 KB Partition 2 ¥×¥é¥¤¥Þ¥ê 23 GB 101 MB Partition 3 ²óÉü 580 MB 23 GB DISKPART> select partition 3 ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó 3 ¤¬ÁªÂò¤µ¤ì¤Þ¤·¤¿¡£ DISKPART> list partition Partition ### Type Size Offset ------------- ------------------ ------- ------- Partition 1 ¥×¥é¥¤¥Þ¥ê 100 MB 1024 KB Partition 2 ¥×¥é¥¤¥Þ¥ê 23 GB 101 MB * Partition 3 ²óÉü 580 MB 23 GB DISKPART> delete partition override DiskPart ¤ÏÁªÂò¤µ¤ì¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÀµ¾ï¤Ëºï½ü¤·¤Þ¤·¤¿¡£ DISKPART> list partition Partition ### Type Size Offset ------------- ------------------ ------- ------- Partition 1 ¥×¥é¥¤¥Þ¥ê 100 MB 1024 KB Partition 2 ¥×¥é¥¤¥Þ¥ê 23 GB 101 MB ***»²¹Í [#k2742475] -https://pc-karuma.net/windows-10-delete-recovery-partition-diskpart/ **Windows10 ¥×¥í¥À¥¯¥È¥¡¼É½¼¨ [#a82b22cc] ´ÉÍý¼Ô¤Ç¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥Èµ¯Æ° >wmic path softwarelicensingservice get OA3xOriginalProductKey OA3xOriginalProductKey Q***-C***-****-****-**** ɽ¼¨¤µ¤ì¤Ê¤¤¤È¤¤Ï°Ê²¼¤«¤é¡ÖKey Finder¡×¤òDL¤·¤Æ¼Â¹Ô¤¹¤ë -https://jp.wisecleaner.com/products/wise-windows-key-finder **¼«Æ°¹¹¿·Ìµ¸ú²½ [#y28fe95c] -¥í¡¼¥«¥ë¥°¥ë¡¼¥×¥Ý¥ê¥·¡¼¥¨¥Ç¥£¥¿µ¯Æ° --gpedit.msc &ref("./¼«Æ°¹¹¿·1.png"); --̤¹½À®¢Í̵¸ú -Windows Update¤Î¥Ú¡¼¥¸¤¬°Ê²¼¤Î¤è¤¦¤ËÊѤï¤ë &ref("./¼«Æ°¹¹¿·2.png"); -°Ê²¼¤Î3¹àÌܤ¬Äɲ䵤ì¤ë &ref("./¼«Æ°¹¹¿·3.png"); **Proxy¥µ¡¼¥Ð·Ðͳ¤ÎWindowsUpadteÊýË¡ [#m7a13495] --Proxy¥µ¡¼¥Ð:192.168.0.238 --¥Ý¡¼¥È:8090 -Windows¤ÎProxy¥µ¡¼¥Ð¤Îɽ¼¨ C:\windows\system32>netsh winhttp show proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ľÀÜ¥¢¥¯¥»¥¹ (¥×¥í¥¥· ¥µ¡¼¥Ð¡¼¤Ê¤·)¡£ -Proxy¥µ¡¼¥Ð¤ÎÀßÄê C:\windows\system32>netsh winhttp set proxy proxy-server="192.168.0.238:8090" bypass-list="<local>;*.microsoft.com" ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ¥×¥í¥¥· ¥µ¡¼¥Ð¡¼: 192.168.0.238:8090 ¥Ð¥¤¥Ñ¥¹°ìÍ÷ : <local>;*.microsoft.com -Proxy¥µ¡¼¥Ð¤Î³Îǧ C:\windows\system32>netsh winhttp show proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ¥×¥í¥¥· ¥µ¡¼¥Ð¡¼: 192.168.0.238:8090 ¥Ð¥¤¥Ñ¥¹°ìÍ÷ : <local>;*.microsoft.com °Ê¹ß¤ÏÉáÄ̤ËÀßÄ꤫¤éWindowsUpdate -Proxy¤Îºï½ü C:\windows\system32>netsh winhttp reset proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ľÀÜ¥¢¥¯¥»¥¹ (¥×¥í¥¥· ¥µ¡¼¥Ð¡¼¤Ê¤·)¡£ &color(red){Windows¥é¥¤¥»¥ó¥¹Ç§¾Ú¤Ç¤¤Ê¤¤¤È¤¤Ï°Ê²¼¤Î¤è¤¦¤Ë¥Ð¥¤¥¢¥¹¤Î¥ª¥×¥·¥ç¥ó¤ò³°¤¹}; C:\windows\system32>netsh winhttp set proxy proxy-server="192.168.0.238:8090" **NIC¤Ë¤è¤êGW,DNS¤ÎÀÚ¤êÂؤ¨¥Ð¥Ã¥Á [#o0665632] NIC¤¬2Ë縺ߤ·¡¢°ìËçÌܤÎNIC¤¬IPv4¡¢2ËçÌܤÎNIC¤Ë¤ÏIPv6¤¬³ä¤êÅö¤Æ¤é¤ì¤¿¤¤¤ë¡£~ IPv6¦¤ÎNIC¤ÏIPv6¤ÎIPVPN¤ËÀܳ¤·¤Æ¤¤¤ë¡£~ IPv4¦¤ÎNIC¤ÏLAN¤ËÀܳ¤·¤Æ¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤¹¤ë¤Ë¤ÏGW¤ÎÀßÄ꤬ɬÍ×~ Ä̾ï¤Ï¡¢PC¤ÏIPv6¦¤ÎNIC(DHCP)¤ÇIPVPNÌÖ¤ÈIPv4¦¤ÎNIC¤ÇLAN¤ÈÀܳ¤¹¤ë(IPv4¤ÎG/W¤Ï¤Ê¤·)¡£~ IPv6¤ÎDNS¤ò»ÈÍѤ·¤Æ¡¢IPv4¤ÎDNS¤Ïºï½ü¤¹¤ë¡£~ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤¹¤ë¤Ë¤ÏIPv6¤ÎDNS¤òºï½ü¤·¤Æ¡¢IPv4¤ÎDNS¤ò»ÈÍѤ·¡¢IPv4¤Î¤Ç¥Ç¥Õ¥©¥ë¥ÈGW¤òÀßÄꤹ¤ë¡£~ -chroute.bat @echo off Rem IPv4¤ÈIPv6¤Î¥ë¡¼¥È¤ÎÊѹ¹ IPv4»þ¤Ë¤ÏIPv4¤ÎNIC¤ËGW¤ò»ØÄꤷ¤Æ¡¢IPv4ÍѤÎDNS Rem ¤òÀßÄꤹ¤ë Rem IPv6»þ¤Ë¤ÏIPv6¤ÎNIC¤Ë¤ÏGW¤ò»ØÄꤷ¤Ê¤¤¤Ç¡¢IPv6ÍѤÎDNS¤òÀßÄꤹ¤ë echo Êѹ¹Á° ipconfig /all | find "DNS ¥µ¡¼¥Ð¡¼" echo. echo 1¡§GW IPv4(¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÀܳ»þ) echo 2¡§GW IPv6(¥ª¥ó¥é¥¤¥ó»ñ³Êǧ¾Ú»ÈÍÑ»þ) echo. choice /C:12 /M:¤É¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ËÀܳ¤·¤Þ¤¹¤« echo. set NAME_IPv4=¥¤¡¼¥µ¥Í¥Ã¥È set NAME_IPv6=¥¤¡¼¥µ¥Í¥Ã¥È 2 if %ERRORLEVEL% equ 1 ( Rem IPv4¤ÎNIC¤ÎGW¤ÈDNS¤òÄɲà netsh interface ipv4 set address name="%NAME_IPv4%" addr=192.168.0.137 mask=255.255.255.0 gateway=192.168.0.243 netsh interface ipv4 add dnsservers name="%NAME_IPv4%" 192.168.0.243 index=1 validate=no Rem IPv6¤ÎNIC¤ÎDNSºï½ü netsh interface ipv6 delete dnsservers name="%NAME_IPv6%" all validate=no Rem netsh interface ipv6 set address name="%NAME_IPv6%" dhcp echo IPv4¤ËÀÚ´¹¤¨¤¿¡ª[¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÀܳ»þ] ) else if %ERRORLEVEL% equ 2 ( Rem IPv4¤ÎNIC¤ÎGW¤ÈDNS¤òºï½ü netsh interface ipv4 delete address name="%NAME_IPv4%" addr=192.168.0.137 gateway=all netsh interface ipv4 add address name="%NAME_IPv4%" addr=192.168.0.137 mask=255.255.255.0 netsh interface ipv4 delete dnsservers name="%NAME_IPv4%" all validate=no Rem IPv6¤ÎNIC¤ÎDNS¤òÄɲáÊGW¤Ï¤â¤È¤â¤ÈÀßÄê¤Ê¤·) netsh interface ipv6 add dnsservers name="%NAME_IPv6%" 2001:a7ff:f014:d00::53:1 index=1 validate=no netsh interface ipv6 add dnsservers name="%NAME_IPv6%" 2001:a7ff:f014:d00::53:2 index=2 validate=no echo IPv6¤ËÀÚ´¹¤¨¤¿¡ª[¥ª¥ó¥é¥¤¥ó»ñ³Êǧ¾Ú»ÈÍÑ»þ] ) echo. echo Êѹ¹Á° ipconfig /all | find "DNS ¥µ¡¼¥Ð¡¼" pause **Windows10¤Ë£²ÂæÌܤÎRDT¥¯¥é¥¤¥¢¥ó¥È¤òÀܳ¤¹¤ëÊýË¡ [#z3ef40e8] ÉáÄ̤ϡ¢Windows10¤ËRDTÀܳ¤·¤Æ¤¤¤ë¤È¤¤Ï¡¢ÀܳPC°Ê³°¤«¤é¤ÏƱ»þ¤ËÀܳ¤Ç¤¤Ê¤¤ °Ê²¼¤ÎÊýË¡¤ÇÀܳ¤¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤ë ***Àܳ¤µ¤ì¤ëPC(1ÂæÌܤÎPC¤ÇÉáÄ̤ËÀܳ¤·¤¿PC)¤Ç¤Î³Îǧ»ö¹à [#c7106f42] ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ç C:\Users\okada>query session ¥»¥Ã¥·¥ç¥ó̾ ¥æ¡¼¥¶¡¼Ì¾ ID ¾õÂÖ ¼ïÎà ¥Ç¥Ð¥¤¥¹ services 0 Disc console 1 Conn >rdp-tcp#12 okada 3 Active¡¡¢«¡¡¤³¤³ rdp-tcp 65536 Listen ¾õÂÖ¤¬¡ÖActive¡×¤ÎIDÈÖ¹æ¤ò³Îǧ Àܳ¤µ¤ì¤ëPC¤¬ËÜÂΤ«¤é¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¤È¤¤Ï¥»¥Ã¥·¥ç¥ó̾¡Öconsole¡×¤¬Active¤Ë¤Ê¤ë¡£ ***Àܳ¤¹¤ëPC(2ÂæÌܤÎÄɲÃPC)¤Ç¤Î¼ê½ç [#p9802713] ¡ÖWindows PowerShell¡×¤Þ¤¿¤Ï¡Ö¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¡×¤òµ¯Æ° PS C:\WINDOWS\system32> mstsc /v:192.168.10.221 /prompt /shadow:3 /control ¤³¤ì¤Ç1ÂæÌܤÎPC¤Î¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë¤È¡¢1ÂæÌܤΥê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×¾å¤Ë¡Ö¥ê¥â¡¼¥ÈÀ©¸æÍ×µá¡×¤Î°Ê²¼¤ÎÆâÍƤΥÀ¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤¬É½¼¨¤¹¤ë¡£ ¡ÖPC001¤¬¥»¥Ã¥·¥ç¥ó¤Î¥ê¥â¡¼¥ÈÀ©¸æ¤òÍ׵ᤷ¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÍ×µá¤ò¼õ¤±Æþ¤ì¤Þ¤¹¤«¡©¡× ¡ÖOK¡×¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¡£ ¤¢¤È¤ÏÀܳ¤·¡¢¥Þ¥¦¥¹¡¢¥¡¼¥Ü¡¼¥É¤¬¤É¤Á¤é¤«¤é¤âÆþÎϲÄǽ¤Ë¤Ê¤ë ¤¿¤À¤·¡¢Shadow¦(2ÂæÌÜ/¸å¤«¤éÀܳ)¤«¤é¤Î¥Þ¥¦¥¹Æ°¤¤Ï1ÂæÌܤâƱ¤¸¤è¤¦¤ËÆ°¤¯¤¬¡¢1ÂæÌܤΥޥ¦¥¹¤ÎÆ°¤¤ÏShadow¦¤Ë¤ÏÅÁ¤ï¤é¤Ê¤¤¤è¤¦¤Ê´¶¤¸¡£ ¤¿¤À¤·¡¢PCËÜÂÎ¤Ë¥í¥°¥¤¥ó¤·¤Æ¡¢¥ê¥â¡¼¥È¤ÏShadow¤Î¤È¤¤Ï¡¢¤É¤Á¤é¤«¤éÁàºî¤·¤Æ¤âÁê¼ê¦¤Î¥Þ¥¦¥¹¤ÏÆ°¤¯¤ß¤¿¤¤¡£ &color(red){¤¿¤À¤·2ÂæÌܤÏShadow¤Ç¤ÎÀܳ¤Ê¤Î¤Ç¡¢1ÂæÌܤòÀÚÃǤ¹¤ë¤È2ÂæÌܤâÀÚÃǤµ¤ì¤ë¡££³ÂæÌܤÏÀܳ¤Ç¤¤Ê¤¤¡£°Ê²¼¤Î¥á¥Ã¥»¡¼¥¸}; ''¡Ö»ØÄꤷ¤¿¥»¥Ã¥·¥ç¥ó¤Ï¥·¥ã¥É¥¦¥¤¥ó¥°¤Ç¤¤Þ¤»¤ó¡£¤³¤Î¥»¥Ã¥·¥ç¥ó¤Ï´û¤Ë¥·¥ã¥É¥¦¤Ç»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤¹¡£¡×'' ***¡Ö¥ê¥â¡¼¥ÈÀ©¸æÍ×µá¡×¤òɽ¼¨¤·¤Ê¤¤ÊýË¡ [#v86683ca] °Ê²¼¤Î¤è¤¦¤Ë¥ê¥â¡¼¥ÈÀè¤ÎPC¤Î¥°¥ë¡¼¥×¥Ý¥ê¥·¡¼¤òÊѹ¹¤·¡¢¥³¥Þ¥ó¥É¤Ë¡Ö/noConsentPrompt¡×¤òÄɲ乤롣 PS C:\WINDOWS\system32> mstsc /v:192.168.10.221 /prompt /shadow:3 /control /noConsentPrompt -/v:ÀܳÀ襢¥É¥ì¥¹ -/prompt¡§Àܳ»þ¤Ë»ñ³Ê¾ðÊó¡Ê¥æ¡¼¥¶Ì¾¡¢¥Ñ¥¹¥ï¡¼¥É)¤òµá¤á¤ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨ -/shadow : 1ÂæÌܤÎPC¤Ç³Îǧ¤·¤¿Ìð°õ¤Î¾ì½ê¤Î¿ôÃÍ¡£º£²ó¤Ï¡Ö£³¡× -/control:±ÜÍ÷¤À¤±¤Ç¤Ê¤¯À©¸æ²Äǽ¤Ë¤Ê¤ë -/noConsentPrompt:¥æ¡¼¥¶¤ÎƱ°Õ¤Ê¤·¤ÇÀܳ¤Ç¤¤ë¡£ ¤¿¤À¤·¡¢°Ê²¼¤Î¥°¥ë¡¼¥×¥Ý¥ê¥·¡¼¥¨¥Ç¥£¥¿(gpedit.msc)¤ÇÀßÄê¤ÎÊѹ¹¤¬¥ê¥â¡¼¥ÈPC¤ËɬÍ× [¥³¥ó¥Ô¥å¡¼¥¿¡¼¤Î¹½À®] – [´ÉÍýÍѥƥó¥×¥ì¡¼¥È] – [Windows ¥³¥ó¥Ý¡¼¥Í¥ó¥È] – [¥ê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×¥µ¡¼¥Ó¥¹] – [¥ê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×¥»¥Ã¥·¥ç¥ó¥Û¥¹¥È] – [Àܳ]~ ¡Ö¥ê¥â¡¼¥È ¥Ç¥¹¥¯¥È¥Ã¥× ¥µ¡¼¥Ó¥¹ ¥æ¡¼¥¶¡¼ ¥»¥Ã¥·¥ç¥ó¤Î¥ê¥â¡¼¥ÈÀ©¸æ¤Î¥ë¡¼¥ë¤òÀßÄꤹ¤ë¡× &ref("./¥æ¡¼¥¶¤ÎƱ°Õ¤Ê¤·ÀßÄê.png"); RDT¤ÎÀܳ²èÌ̤¬É½¼¨¤¹¤ë¤Î¤Ç1ÂæÌܤÎPC¤ÈƱ¤¸¡Ö¥æ¡¼¥¶Ì¾¡×¡Ö¥Ñ¥¹¥ï¡¼¥É¡×¤òÆþÎÏ ***¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë [#oe927597] &color(red){445/TCP¤òÄ̲ᤷ¤¿¤éÀܳ¤Ç¤¤¿}; ¥ê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×-¥·¥ã¥É¥¦(TCP)¤â͸ú¤Ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ë¢ª¥ê¥â¡¼¥È¥Ç¥¹¥¯¥È¥Ã¥×¤òµö²Ä¤·¤¿»þÅÀ¤Ç͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È»×¤ï¤ì¤ë¡£ ***»²¹Í [#qc48beb3] -https://gloria.cool/blog/20200502-windows-shadow/