• How to grant “Power Users” a privilege to share folder in Windows 7?

    雖然在Win7下的Power User不像XP有那樣大的權限(參考http://support.microsoft.com/kb/2028493/en-us),但有些使用者仍會將Domain User加入每台機器的Power Users 群組。如果您希望在Windows 7下讓Power share可以分享資料夾,以下二個條件必需成立:

    1. UAC disable

    2. 在網路和共用中心>進階共用設定裏的「開啟檔案及印表機共用」必需開啟。

    ================================================================

    假設您想大量佈署這樣的需求,如果要透過指令完成,方式如下:

    Disable UAC

    ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

    如果要透過UI做以下的設定:

    clip_image002

    • 英文版指令

    netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes

    • 中文版的指令

    netsh advfirewall firewall set rule group=”檔案及印表機共用” new enable=Yes

    因此,在Client開機時,執行這三行指令就可以做到關閉UAC及「開啟檔案及印表機共用」。

    注意:

    1. 停用UAC後,必需要重新開機才會生效,因此在套用Disable UAC的機碼後,還要再重開機一次才會生效。
    2. 關閉UAC將會造成系統的安全性降低。
  • How to redirect Audio Recording in Windows 7 via RDP?

     

    假設我想將麥克風的聲音重新導向至遠端桌面的Windows 7,我該如何做?

    1. 在遠端的機器上,修改文件中提到的機碼:

    http://support.microsoft.com/kb/2020918

    2. 在本機上,如果是Windows XP或Vista,請先安裝RDP 7.0

    http://support.microsoft.com/kb/969084/zh-tw

    3. 在本機上,要建立連線前,請做以下的設定:

    clip_image002

    4. 建立連線。

  • How to redirect WebCAM in Windows 7 via RDP?

    問題描述:我要如何才能將本機的WebCAM影響重新導向至遠端桌面中的Windows 7機器?

    解決方法:如果您要做到這個功能,您必需將遠端的Windows 7安裝至2008 R2 SP1下的Hyper V,並且要啟動RemoteFX服務才做得到,否則只能尋求其他3rd party程式來達到需求。

    clip_image004

    參考資料:

    Introducing Microsoft RemoteFX USB Redirection: Part 1

    http://blogs.msdn.com/b/rds/archive/2010/06/10/introducing-microsoft-remotefx-usb-redirection-part-1.aspx

    However, there are many devices which are not covered by these redirections, such as scanners, multifunction printers, webcams, and more. RemoteFX USB redirection acts as a catch-all mechanism that redirects these USB devices! Unlike high-level redirections such as drive redirection, RemoteFX USB redirection happens at the port protocol (USB request block or URB) level, and is similar to how one can redirect serial or parallel ports via RDP. This provides some unique advantages, as you’ll see below. However, RemoteFX USB redirection is meant to supplement high-level redirections, not to supplant them. By combining RemoteFX USB redirection with RDP high-level device redirections, you can have the best of both worlds. Here is a table that compares and contrasts the two forms of redirection.

    Hardware Considerations for RemoteFX

    http://technet.microsoft.com/zh-tw/library/ff817602(WS.10).aspx

    Deploying Microsoft RemoteFX on a Remote Desktop Session Host Server Step-by-Step Guide

    http://technet.microsoft.com/en-us/library/ff817595(WS.10).aspx

    Appendix A: Devices that Support Redirection

    http://technet.microsoft.com/en-us/library/ff817609(WS.10).aspx

  • Windows 7執行sysprep 時,出現「嘗試對電腦執行sysprep時發生嚴重錯誤」

     

    問題描述:

    當您在執行sysprep並勾選「一般化」時,在關機前出現以下的畫面:

    image

    解決方式:

    狀況1:確認該Image是否已經做過三次sysprep+一般化,如果是的話,請參考以下的文件。

    http://support.microsoft.com/kb/929828/zh-tw

    狀況2:如果該Image還沒有做過三次sysprep+一般化,但仍出現此錯誤,請依照以下的步驟解決。

    1.找到 C:\Windows\System32\sysprep\Panther\setuperr.log檔案。檢查內容有以下的記錄,如果內容符合以下的錯誤,請往步驟2。

    2011-12-29 18:37:13, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
    2011-12-29 18:37:13, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f

    2.找到HKLM\System\Setup\Status\SysprepStatus\右方的 GeneralizationState值為多少?如果不是7的話,請改成7,再試一次sysprep即可。

  • 磁碟管理員中看到的特定磁碟容量和該磁碟內容中所看到的容量不同

    問題狀況
    =======
    例如 D: 磁碟在 [磁碟管理員] 中顯示的容量為 1.5Tb, 但在 D: 磁碟上按右鍵檢示 [內容] 時, 看到容量卻只有800GB

    問題釐清
    =======
    此現象將發生在 Windows 2003 R2 裏的FSRM(File Server Resource Manager) Quota 設定, 如果對D: 磁碟設置了Quota 將會有此現象

    Lab template
    =============================

    1. 新建一個新的volume, 大小是243MB。沒有設置quota時,所有顯示都是對的。
    clip_image002

    2. 在FSRM裡對E 磁碟設置100MB的hard quota,Explorer [內容]檢示裡就只能顯示Quota 的大小。
    clip_image004

    =============================