2013-12-12

Windows 7 - Fixing The Mapped Drive Credentials Problem

Ever since installing the Windows 7 RTM build, I have been unable to have that system automatically log on to an assigned mapped drive on my MacBook.
Until now.
The basic concept is that from Windows Explorer, you want to map a networked drive, and retain that mapped network drive so that it is persistent through multiple reboots and logins to that system. The problem is that the default installation of Windows 7 appears to support this feature (as happens quite seamlessly in XP), but in fact it doesn’t.
When you log on to a network volume and assign it as a mapped drive, there is a "Remember my credentials" checkbox on the login dialog. One would expect that this should add the login credentials to the Credentials Manager, so that the details are retained and you can automatically log in to that mapped drive the next (and every subsequent) time that you restart the Windows 7 system.
Entering credentials
Entering credentials
Why else would you want to check the “Remember my credentials” checkbox, right?
Unfortunately, that isn’t how it happened for me, and every time I rebooted the system, I would see a message balloon pop up in the taskbar, and the mapped drive would contain a red X through it, indicating that the drive mapping could not be re-established.
Mapped drive is not connected
Mapped drive is not connected
When I mapped the drive, this process had created a record in the Windows 7 Credential Manager, but this showed that the persistence of the login to the networked drive was just for the current session. This did not seem to me to be correct. Manually creating a record in the Credentials Manager also failed to rectify the problem.
credentials-manager
After quite a good deal of research, I discovered that the actual source of the problem has nothing to do with the Credentials Manager, but instead relates to how the default group policies for SMB shares are set up when Windows 7 is installed. The default value is that the relevant policy is left unset, and that creates this problem when you wish to automatically log in to some SMB shares. This of course is how OS X drives are seen by Windows when they are set as mapped drives within your system, and that is why this problem seems to occur.
Fixing the problem requires editing the group policies. Not a difficult task, but it does entail changing some registry settings. If you are not comfortable with doing getting your hands dirty in the registry, stop now, or find someone who can do this. And be sure that you back up your registry before you start. If you screw up your registry, you might not be able to restart and use your system, so consider yourself warned.
To edit the Group Policies, we need to run the Group Policy Editor program. Press the Windows and R keys together to bring up the Run Program dialog, and then, in the Run dialog, enter gpedit.msc and press the OK button.
After a few moments the Group Policies Editor will open.
In the Group Policies Editor, open each of the following items in turn:
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
Now, right-click on the “Network security: LAN Manager authentication level” policy item, and then, from the context (pop-up) menu, select “Properties”.
Now select the “Local Security Settings” tab, and then, in the dropdown box, locate and select “Send LM & NTLM – user NTLMv2 session security if negotiated”.
Now click the OK button, and then finally, you may close the Group Policies Editor window.
The problem should now be fixed, and your mapped drive logins should now be persistent through multiple reboots of the system.


Update:

1: GPE change "Network security: LAN Manager authentication level" from "undefined" to "Send LM & NTLM - user NTLMv2 session security if negotiated"

If you do not have access to GPE because you're not running pro, you can edit the appropriate registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
Key: LSA (Add if not exist)
Value Name: LMCompatibility (Add if not exist)
Data Type: REG_DWORD
Value: 1

2: Make sure you put a '\' before your username when you enter your different credentials for save. Otherwise Windows will append your current domain to it. IE: "myName" will become "localnet\myName" if you fail to save it as "\myName".

This is the weirdest, since the connection made when you complete the mapping does not use the domain in the different credential, but it is used when windows re-starts...

2013-11-04

轉貼:老公專賣店

有一家專賣丈夫的店在紐約全新開張,女人們可以直接進入挑選一個心儀的配偶
在店家入口有著一面告示牌,告訴大家這家店如何經營

「一個人只能進入這家店一次 ! 
店裡共有六樓,隨著高度的上升,男人們的品質也越高, 
但是請注意,妳可以在任何一層樓選購一個丈夫,或者選擇繼續上樓, 
不過如果妳在上面的樓層沒挑到合意的,不可以回頭下樓,只能離開這家店....」

於是一個女人走入這家丈夫專賣店去尋找一個老公 
一樓的門上貼著一張說明書: 
「這裡的男人們有工作而且敬愛上帝。」

女人看也不看的上了第二層樓。

二樓的門上也貼著一張說明書: 
「這裡的男人們有工作、敬愛上帝,而且熱愛小孩。」

女人又上了三樓。 
三樓寫著: 
「這裡的男人們有工作、敬愛上帝、熱愛小孩,而且有著極度英俊的外貌。」 
「哇!」 她暗自讚嘆著,但仍勉強自己往上爬。

四樓: 
「這裡的男人們有工作、敬愛上帝、熱愛小孩,有著令人窒息的好看外貌,並且還會幫忙做家事。」 
「喔!饒了我吧!!」 女人叫道:「我快受不了!!」


接著她仍然爬上了五樓 
她唸著五樓的告示牌: 
「這裡的男人們有工作、敬愛上帝、熱愛小孩,有著令人窒息的完美外貌,會幫忙做家事, 更有著強 烈的浪漫情懷。」

女人幾乎想留在這一層樓,但仍抱著滿腹期待走向最後一樓。 
第六樓出現了一面巨大的電子告示板,上面打出一牌字說道: 
「妳是這層樓的第31,456,021位訪客這裡不存在任何男人,這層樓的存在只是為了證明女人有多麼不可能取悅,謝謝您光臨丈夫專賣店~~~~」


又有一家妻子專賣店在對街開張 
第一層的女人「會取悅老公」。 
第二層的女人「會取悅老公並身材臉孔都美麗」。 
而第三樓及以上至六樓的樓層就從來沒有男人上去過...

2013-10-29

Windows 7: How to reset / initialize offline files database?

Symptoms:

On a Windows Vista-based or Windows 7-based client computer, you can still access offline files even though the file server is removed from the network. Additionally, you can delete the offline files and the temporary files in the Offline Files item in Control Panel.


Resolution


To resolve this problem, re-initialize the cache of offline files. To do this, follow these steps:

  1. Click Start, type regedit in the Start Search box, and then press Enter.

    Note If you are prompted for an administrator password or for confirmation, type the password or click Continue.
  2. Locate the following registry subkey, and then right-click it:
    HKEY_LOCAL_MACHINE\System\
    CurrentControlSet\Services\CSC
  3. Point to New, and then click Key.
  4. Type Parameters in the box.
  5. Right-click Parameters, point to New, and then click DWORD (32-bit)Value.
  6. Type FormatDatabase, and then press Enter.
  7. Right-click FormatDatabase, and then click Modify.
  8. In the Value data box, type 1, and then click OK.
  9. Exit Registry Editor, and then restart the computer.
Or use the following command to fix the problem

reg add HKLM\SYSTEM\CurrentControlSet\services\CSC\Parameters /v FormatDatabase /t REG_DWORD /d 1

2013-03-19

色情網站過濾器 (適合 Windows, Mac, iOS & Android)



K9 Web Protection (32-bit)是一套網路過濾器,網路上是一個開放的環境,有許多對於兒童有害的網站,可以透過此軟體去設定網路環境,提供一個安全的上網環境。

軟體特色
  • 限制超過70個類別的網站,包括色情、賭博、毒品、暴力、惡意軟件/間諜軟件、網絡釣魚。
  • 在主要的搜索引擎安全的搜尋。
  • 設定指定的時間內限制網路存取。
  • 設定自定義列表「永遠存取」與永遠限制。
  • 查詢監測和控制網絡活動的簡單報告。

Download Link: Windows | Mac | iOS | Android

2013-03-17

當移除 Microsoft Office 2010 隨選即用 (To-Go Device) 時,會出現 "無法完成此動作,請再試一次,如果問題持續發生,請連絡 Microsoft 產品支援"


解決方法: 當移除 Microsoft Office 2010 隨選即用 (To-Go Device) 時,會出現 "無法完成此動作,請再試一次,如果問題持續發生,請連絡 Microsoft 產品支援"




1) 先下載程式並解壓縮
2) 執行 "CleanC2R.exe"(如是 Windows Vista/7 請按右鍵 "以系統管理者身份" 執行)。會有一個 DOS 視窗顯示
3) 完成後請重新啟動電腦,並在重新啟動後再執行多一次 "CleanC2R.exe"
4) 完成後又再重新啟動電腦一次,成功啟動後執行 "offcln.exe" 以完全移除 Office 產品
5) 之後重新啟動電腦多一次以完成整個程序。成功啟動後可重新安裝 Office 產品

Credits: triplescomputers