Windows10 Tips

¹¹¿·Æü2023-10-06 (¶â) 22:54:22

Hyper-V¤Î¥Í¥Ã¥È¥ï¡¼¥¯¹½À®

Windows¤ÎHyper-V¤ÏVMÍѤÎNIC¤ÈHOSTOSÍѤÎNIC2Ë礢¤Ã¤¿¤Û¤¦¤¦¤¬Îɤ¤¡£1Ëç¤Ç¤â¹½À®¤Ç¤­¤ë¤¬¡¢ESXi¤ÎNIC¤ò¥×¥í¥ß¥¹¥­¥ã¥¹¡¦¥â¡¼¥É¤òÍ­¸ú(LinkÀè)¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¡£

¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥À¥×¥¿(vEthernet)¤ÎDNS¤ÎÀßÄê¤ò¼êÆ°¤ÇÀßÄꤹ¤ë¤ÈDNS¤¬ÍøÍѤǤ­¤ë.

¤½¤Î¤Û¤«¤È¤·¤ÆIPV6¤ò̵¸ú¤Ë¤·¤Æ¤â¡¢ÀßÄêÊѹ¹»þ¤ËÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£

²¾ÁÛ.png

WindowsPC¤Ø¤Î¥ê¥â¡¼¥È¥·¥ó¥Ü¥ê¥Ã¥¯¤ÎºîÀ®

¥ê¥â¡¼¥È¤Ø¤Î¥ê¥ó¥¯µö²Ä

(¥¯¥é¥¤¥¢¥ó¥È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¤ÇRemoteApp

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:""

K-KACS¤Îµ¯Æ°VBS

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 )

µ¯Æ°²èÌÌ

µ¯Æ°²èÌÌ1.png

µ¯Æ°²èÌÌ2.png

µ¯Æ°²èÌÌ3.png

»²¹Í

Windows10¤Î¥¤¥ó¥¹¥È¡¼¥ë»þHDD¤Ë°ì¤Ä¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤·¤«ºîÀ®¤·¤Ê¤¤ÊýË¡

MBR¤Î¤ß²Äǽ¡¢GTP¤Ç¤ÏÉÔ²Äǽ

DOS.png


format fs=ntfs label="Windows" quick

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë¤¬Èóɽ¼¨¤Î¤È¤­¤ÎÊѹ¹ÊýË¡

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë1.png

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë2.png

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë¤òCUI¤ÇÊѹ¹¤¹¤ë¼ê½ç

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

¡Ö¼±Ê̤µ¤ì¤Æ¤¤¤Ê¤¤¥Í¥Ã¥È¥ï¡¼¥¯¡×¤Èɽ¼¨¤¹¤ë¤Î¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤òÀßÄꤷ¤Ê¤¤¾ì¹ç¤âɽ¼¨¤¹¤ë¤è¤¦¤À¡£

¾åµ­¤ÎÊýË¡¤Ï¥ê¥Ö¡¼¥È¤¹¤ë¤È¤â¤È¤ËÌá¤ë¤Î¤Ç¡Ö¥»¥­¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¡×¤ÇÊѹ¹

¥»¥­¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¤òµ¯Æ°

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥Õ¥¡¥¤¥ë3.png

¡Úwindows¡Û¥µ¡¼¥Ó¥¹ÅÐÏ¿¥³¥Þ¥ó¥É sc

¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È´ÉÍý¼Ô¤Çµ¯Æ°

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

»²¹Í

Windows10 ¥×¥í¥À¥¯¥È¥­¡¼É½¼¨

´ÉÍý¼Ô¤Ç¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥Èµ¯Æ°

>wmic path softwarelicensingservice get OA3xOriginalProductKey
OA3xOriginalProductKey
Q***-C***-****-****-****

ɽ¼¨¤µ¤ì¤Ê¤¤¤È¤­¤Ï°Ê²¼¤«¤é¡ÖKey Finder¡×¤òDL¤·¤Æ¼Â¹Ô¤¹¤ë

¼«Æ°¹¹¿·Ìµ¸ú²½

¼«Æ°¹¹¿·1.png

¼«Æ°¹¹¿·2.png

¼«Æ°¹¹¿·3.png


¥È¥Ã¥×   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS