顯示包含「Microsoft Windows」標籤的文章。顯示所有文章
顯示包含「Microsoft Windows」標籤的文章。顯示所有文章

2021-05-17

Review Who is Connected to Windows Shared Folder

 

1. Open Computer Management Console

    Windows Key + R -> compmgmt.msc

    



2. Expand System Tools -> Shared Folder -> Sessions

    

3. You would see which user is/are connecting Windows Shared Folder


2019-02-26

Some Programs Cannot Access Network Locations

Configure the EnableLinkedConnections registry value. This value enables Windows Vista and Windows 7 to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group. After you configure this registry value, LSA checks whether there is another access token that is associated with the current user session if a network resource is mapped to an access token. If LSA determines that there is a linked access token, it adds the network share to the linked location.

To configure the EnableLinkedConnections registry value

  1. Click Start, type regedit in the Start programs and files box, and then press ENTER.
  2. Locate and then right-click the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. Point to New, and then click DWORD Value.
  4. Type EnableLinkedConnections, and then press ENTER.
  5. Right-click EnableLinkedConnections, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor, and then restart the computer.
Refer: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ee844140(v=ws.10)

2016-10-07

Windows 複製檔案時保留權限

xcopy c:\source_folder_name d:\destination_folder_name /E /H /K /O /X

    /E - Copies folders and subfolders, including empty ones.
    /H - Copies hidden and system files also.
    /K - Copies attributes. Typically, Xcopy resets read-only attributes.
    /O - Copies file ownership and ACL information.
    /X - Copies file audit settings (implies /O).

2015-02-13

檢查Windows網絡硬碟使用哪個帳戶登記

The following command for checking Windows network drive used which account to map

wmic netuse where LocalName="Z:" get UserName /value

2014-04-24

Enable JMX on tomcat7 running as Windows service

  1. Start 'Tomcat Configure' --> 'Java' tab --> 'Java Options' text box --> Append the followings -Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.ssl=false

  2. Save, Exit and then restart the service
  3. Connect to the JMX console
  4. Start jconsole from your JDK installation location
    example: C:\java\jdk1.6.0_37\bin\jconsole.exe
  5. Click 'New Connection'
  6. Checked 'Remote Process'
  7. Enter hostname:8090

2013-05-31

Windows Vista/ Windows 7/ Windows 8 上使用 WebDAV

Use WebDav in Windows Vista/ Windows 7/ Windows 8

1) Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters

2) Modify BasicAuthLevel value to 2

3) Go to Control Panel\All Control Panel Items\Administrative Tools\Services

4) Restart WebClient

5) Connect WebDav
a) Use net use command
b) Right click computer -> add a network location

2012-11-13

複製轉移Putty個人設定檔

Copy / Transfer Putty Configuration File / Profile

首先,你必需有權限執行登錄檔編輯程式。
First of all, You may have both computers administrative right to execute registry editor.

開始 -> 執行 -> 輸入 "regedit.exe" -> OK
Windows + R -> input "regedit.exe" -> OK

前往
Go to HKEY_CURRENT_USER\Software\SimonTatham

右擊"SimonTatham" -> 輸出 -> 儲存
Right Click on "SimonTatham" -> Export -> save

複製輸出的登錄檔到另一部電腦,然後開啟/執行
Copy the output file to other computer, and then double click to import it.

現在你成功地將Putty的設定轉移到另一部電腦!
Now, you putty setting is transfer to another computer!

Review Who is Connected to Windows Shared Folder

  1. Open Computer Management Console     Windows Key + R -> compmgmt.msc      2. Expand System Tools -> Shared Folder -> Sessions ...