2009年4月23日 星期四

How to Recover from Reduced Functionality Mode (RFM) in Vista

當你使用的Vista系統超過30天未完成啟動程序,而進入精簡功能模式(RFM)時,可以用以下指令來重新取得另外30天之初始限定期。

Microsoft allows you to install and use Windows Vista for evaluation without license or product key for up to 30 days. Within these 30 days, you must activate the Vista system with a valid product key. Else, if you forget to activate your computer, or you’re using illegal and pirated product key, Windows Vista will go into Reduced Functionality Mode (RFM), where you basically can no longer use the system for productivity works until you successfully activate Vista with a licensed product key.

Windows Activation

Activate Windows Now

Your activation period has expired and Windows is no longer working.
To use Windows you must activate this copy of Windows.

If you’re still not yet ready to activate your copy of Vista and want to further extend the activation period another 30 days, and also want to exit or recover from Reduced Functionality Mode so that you can continue using Vista without reinstalling, here’s a simple hack to crack the RFM. The trick is made possible by Microsoft which still allow users to use Internet Explorer in RFM (probably do so so that you will can buy a license online), which can be used to break out of Reduced Functionality mode by running an explorer interface to open an administrative level command prompt and run the commands required to reset your activation period and recover use of your computer and desktop.

This crack RFM trick is simplified from previous recover from RFM guide to make it easier to understand.

1. On the Windows Activation - Activate Windows Now screen shown above, click on Access your computer with reduced functionality option.

2. Once the Internet Explorer loads, click on File on menu bar and then select Open on the pull-down menu.

3. On the Open dialog window, type in C:\Windows\Explorer.exe and then click OK.

4.Click OK button on “IE needs to open a new window to open this webpage” confirmation prompt.

5.Click Run button on “File Download - Security Warning” dialog prompt.

6.Click on Run button on “File Download - Security Warning” warning dialog related to unknown and not verified publisher.

7. User shell will load, and the desktop, taskbar, start menu and etc will be restored.

8. The computer has recovered from Reduced Functionality for this session. To permanently stop RFM to happen again, Vista has to be rearmed.

9. Click on the Start button.

10. Type Cmd in Start Search box.

11. A program shortcut will show up in the Start panel search results. Right click on the shortcut and select Run as Administrator.

12. In the Command Prompt window, type in the following command and then hit Enter:



slmgr.vbs -rearm


13. Restart computer.

Reference: nirvick.blogspot.com

Read more...

2009年4月16日 星期四

Spring Transaction

下面是在Spring 2 + Hibernate 3 + MySQL 5架構中使用無Transaction的設定檔(XML)



<bean id="individualMgnt" class="component.IndividualMgnt">
<property name="individualDao" ref="individualDao"/>
<property name="individualPartyDao" ref="individualPartyDao"/>
<property name="locationDao" ref="locationDao"/>
<property name="partyDao" ref="partyDao"/>
<property name="roleDao" ref="roleDao"/>
</bean>



下面是在Spring 2 + Hibernate 3 + MySQL 5架構中使用Spring Transaction的設定檔(XML)


<bean id="individualMgnt"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
<property name="target">
<bean class="component.IndividualMgnt">
<property name="individualDao" ref="individualDao"/>
<property name="individualPartyDao" ref="individualPartyDao"/>
<property name="locationDao" ref="locationDao"/>
<property name="partyDao" ref="partyDao"/>
<property name="roleDao" ref="roleDao"/>
</bean>
</property>
<property name="transactionAttributes">
<props>
<prop key="find*">
PROPAGATION_REQUIRED, ISOLATION_READ_COMMITTED, timeout_30, readOnly
</prop>
<prop key="add*">
PROPAGATION_REQUIRED, ISOLATION_READ_COMMITTED, timeout_-1, -MyException
</prop>
<prop key="remove*">
PROPAGATION_REQUIRED, ISOLATION_READ_COMMITTED, timeout_-1, -MyException
</prop>
</props>
</property>
</bean>

Read more...

2009年4月15日 星期三

好用的HTML轉碼小工具

經常在部落格中放置程式碼或是XML設定檔的人一定會發現,有些特殊字元要先行轉換成特殊編碼,瀏覽器才能正確顯示,這時就要感謝這CENTRICLE.COM網站,它提供了一個好用的小工具協助我們編寫HTML文件。

Read more...

  © Blogger template Spain by Ourblogtemplates.com 2008

Back to TOP