Windows¤ÎHyper-V¤ÏVMÍѤÎNIC¤ÈHOSTOSÍѤÎNIC2Ë礢¤Ã¤¿¤Û¤¦¤¦¤¬Îɤ¤¡£1Ëç¤Ç¤â¹½À®¤Ç¤¤ë¤¬¡¢ESXi¤ÎNIC¤ò¥×¥í¥ß¥¹¥¥ã¥¹¡¦¥â¡¼¥É¤ò͸ú(LinkÀè)¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¡£
¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥À¥×¥¿(vEthernet)¤ÎDNS¤ÎÀßÄê¤ò¼êÆ°¤ÇÀßÄꤹ¤ë¤ÈDNS¤¬ÍøÍѤǤ¤ë.
¤½¤Î¤Û¤«¤È¤·¤ÆIPV6¤ò̵¸ú¤Ë¤·¤Æ¤â¡¢ÀßÄêÊѹ¹»þ¤Ë͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
(¥¯¥é¥¤¥¢¥ó¥È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 ¥í¡¼¥«¥ë¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥í¡¼¥«¥ë¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£ ¥ê¥â¡¼¥È¤«¤é¥í¡¼¥«¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï͸ú¤Ç¤¹¡£¡¡¢«¤³¤³ ¥ê¥â¡¼¥È¤«¤é¥ê¥â¡¼¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤Ï̵¸ú¤Ç¤¹¡£
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 ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯ ¥ê¥ó¥¯¤¬ºîÀ®¤µ¤ì¤Þ¤·¤¿
¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ë¤Æ
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
¥Õ¥©¥ë¥À¤Î¶¦Í¤Ê¤Î¤Ç¡¢Ê£¿ô¤ÎPC¤«¤é°ì¤Ä¤ÎPC¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òºîÀ®¤¹¤ë¤³¤È¤¬½ÐÍè¤ë¡£RemoteApp¤Ç¤ÏÊ£¿ô¤ÎPC¤«¤éƱ»þ¤ËÍøÍѤǤ¤Ê¤¤¡£
Windows10 Pro¤ÇRemoteApp¤Î¥µ¡¼¥Ð¤ËÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£RemoteApp¤È¤ÏÀܳ¤·¤¿Àè¤Î¥µ¡¼¥Ð¤Ç¼Â¹Ô¤·¤¿¥¢¥×¥ê¤Î¥¦¥£¥ó¥É¥¦¤À¤±¤ò¥¯¥é¥¤¥¢¥ó¥È¦¤Ëɽ¼¨¤¹¤ëµ¡Ç½¡£
¥µ¡¼¥Ð¦
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:""
Set WshShell = WScript.CreateObject("WScript.Shell") 'µ¯Æ°¤·¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤£²¤Ä¥×¥í¥°¥é¥à¤òÄä»ß 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 )
MBR¤Î¤ß²Äǽ¡¢GTP¤Ç¤ÏÉÔ²Äǽ
format fs=ntfs label="Windows" quick
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
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
¡Ö¼±Ê̤µ¤ì¤Æ¤¤¤Ê¤¤¥Í¥Ã¥È¥ï¡¼¥¯¡×¤Èɽ¼¨¤¹¤ë¤Î¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤òÀßÄꤷ¤Ê¤¤¾ì¹ç¤âɽ¼¨¤¹¤ë¤è¤¦¤À¡£
¥»¥¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¤òµ¯Æ°
¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È´ÉÍý¼Ô¤Çµ¯Æ°
C:\WINDOWS\system32>sc create Conquest(Hospital1) binPath= "D:\hospital1\ConquestDICOMServer.exe"
[SC] CreateService SUCCESS
d:\hospital1>sc delete Conquest(Hospital1)
[SC] DeleteService SUCCESS
¡ÈbinPath= ¡È¤Î¸å¤í¤Ë¤Ï£±¤Ä¥¹¥Ú¡¼¥¹¤¬É¬Í×
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
´ÉÍý¼Ô¤Ç¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥Èµ¯Æ°
>wmic path softwarelicensingservice get OA3xOriginalProductKey OA3xOriginalProductKey Q***-C***-****-****-****
ɽ¼¨¤µ¤ì¤Ê¤¤¤È¤¤Ï°Ê²¼¤«¤é¡ÖKey Finder¡×¤òDL¤·¤Æ¼Â¹Ô¤¹¤ë
C:\windows\system32>netsh winhttp show proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ľÀÜ¥¢¥¯¥»¥¹ (¥×¥í¥¥· ¥µ¡¼¥Ð¡¼¤Ê¤·)¡£
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
C:\windows\system32>netsh winhttp show proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ¥×¥í¥¥· ¥µ¡¼¥Ð¡¼: 192.168.0.238:8090 ¥Ð¥¤¥Ñ¥¹°ìÍ÷ : <local>;*.microsoft.com
°Ê¹ß¤ÏÉáÄ̤ËÀßÄ꤫¤éWindowsUpdate
C:\windows\system32>netsh winhttp reset proxy ¸½ºß¤Î WinHTTP ¥×¥í¥¥·ÀßÄê: ľÀÜ¥¢¥¯¥»¥¹ (¥×¥í¥¥· ¥µ¡¼¥Ð¡¼¤Ê¤·)¡£
Windows¥é¥¤¥»¥ó¥¹Ç§¾Ú¤Ç¤¤Ê¤¤¤È¤¤Ï°Ê²¼¤Î¤è¤¦¤Ë¥Ð¥¤¥¢¥¹¤Î¥ª¥×¥·¥ç¥ó¤ò³°¤¹
C:\windows\system32>netsh winhttp set proxy proxy-server="192.168.0.238:8090"
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¤òÀßÄꤹ¤ë¡£
@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