SQL Server 2008 R2 installation error PerfMonCounterNotCorruptedCheck

February 27, 2013 Leave a comment

Today I had to refresh my work laptop and when I was installing SQL SERVER 2008 R2 I got a particular error for the first time and I can’t pass the install test.sql_2

The error is “PerfMonCounterNotCorruptedCheck” and it “Checks if existing performance counter registry hive is consistent.”

The description given in the details is “The performance counter registry hive is corrupted. To continue, you must repair the performance counter registry hive. For more information, see http://support.microsoft.com/kb/300956.”

The web address takes you to a knowledgebase article that is for Windows versions that are previous to Windows 8, so I don’t know if it will work for me (I’m currently using Windows 8 Pro 64 Bit). Not being sure it would work I kept searching the internet. I saw that many people (“many” meaning that I had know clue this was actually kind of a common error) with different system configurations and although some tried the process explained in the KB article it didn’t work for all. Others tried doing a slipstreamed install with the services packs but I found a work around that was very simple.

You can just open a command prompt and type “setup .exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck¨

It doesn’t fix the issue but lets you bypass the specific test and continue the install. It works for me and I installed the SP2 after with no problems. If I see any problem in the future I will update this post.

Configuring and unlocking LG Windows Phones

February 20, 2012 Leave a comment
Disclosure: I have tested these all these steps except the “re locking” part. I didn’t originally write any of these how-to’s, I just wanted to have them organized in one place to make them easier to find and read for myself and other LG WP owners.

 

Note: I did these steps before updating to version 7.10.8107.79 and the update process went well and all the changes were kept.

 

All LG Windows Phones (at least the “first gen” ones, Optimus 7 or E900 and the Quantum or C900) have a “secret” diagnostics and maintenance app that has to be installed.
 
Install MFG App: 
  1. Open the Phone App.
  2. Dial ##634#
  3. After a few seconds the MFG App with the other apps and will launch.
  4. The password to enter the app is 277634#*# (i.e appmfg#*#).
Set the correct Network Profile for the phone
This is needed sometimes for Open Market (sim unlocked, unbranded, etc.) phones, that don’t automatically configure correctly upon first boot. You can be issing features like the correct APN’s for data plans, MMS, etc.
  1. Open the MFG App.
  2. Go to Engineer menu -> Other Settings -> Set ADC.
  3. Set to Enable.
  4. In the same Other Settings menu go to Set Networks Profiles. It will display your Current Network but will not give your any options automatically.
  5. To select the correct network profile you need to set the MCC and MNC values press Find. These codes correspond to your Cellphone Operator, you can try looking here (http://en.wikipedia.org/wiki/Mobile_Network_Code) or do a web search for “MCC MNC codes”. Either way, find the correct code combinations for where ever in the world you are enter them and click Find.
  6. If they are correct an option will now appear in the box bellow, select it. Your new config file will now appear.
Note: The original guide where I got this information said that we had to make sure that the phone is unlocked and then went to explain how to explain how to Developer Unlock it. I don’t know if it’s really necessary but just in case and because I just wanted to Developer Unlock it anyway, here it goes.
Developer Unlock
This part is a mix of the guide cited above and a guide from a post by “airwa1kin7″ on XDA (http://forum.xda-developers.com/showthread.php?p=11739501). These guys are the gurus anyway so check them out for more information.
This is the exact post:

For some reason I have never been able to get the LG Optimus E900h to stay unlocked. The registry editers we currently have in our possesion can not edit the needed keys nor can we use provxml because once again it for some reason will not work on our devices.

Here is a 100% way to keep the LG Optimus 7 phone from relocking. Instead of using 3rd party apps we will use the native LG MFG application.

Known Bugs: ChevronWP7 will no longer detect your phone! Not sure why but it doesn’t. This shouldn’t be a problem considering your phone is unlocked. A factory restore will revert the changes. Also you may not debug with VS2010. Also unsure why.

Notes: Enter everything without quotes, and please be careful. Don’t hold me responsible if you screw up your phone.

————————————————————————

How to Un-Lock your Phone without Chevron 7

You can unlock the phone by using the MFG registry editor.

  1. Open the MFG app and use the password to open it. If you don’t know it’s (appmfg#*#)
  2. Go to Engineer Menu -> Other Settings -> Edit Registry
  3. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  4. Set your input path to “\Comm\Security\LVMod”
  5. Set your input key to “DeveloperUnlockState” and set to DWORD
  6. Hit Query. Output result should return a “0″ or a random long number. If it does continue.
  7. Set your input data box to “1″ and hit SET. Output result should be 1

How To Keep Your Phone Unlocked

You can keep your phone unlocked and prevent Zune from re-locking it.

  1. Open the MFG app and use the password to open it. If you don’t know it’s (appmfg#*#)
  2. Go to Engineer Menu -> Other Settings -> Edit Registry
  3. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  4. Set your input path to “\Software\Microsoft\DeviceReg”
  5. Set your input key to “PortalUrlProd” and set to DWORD
  6. Hit Query. Output result should return data. If it does continue.
  7. Keep your input data box empty and hit SET. Output result should be 0
  8. Keep this screen open and continue to Part 2

Part 2

  1. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  2. Set your input path to “\Software\Microsoft\DeviceReg”
  3. Set your input key to “PortalUrlInt” and set to DWORD
  4. Hit Query. Output result should return data. If it does continue.
  5. Keep your input data box empty and hit SET. Output result should be 0
  6. Backout to the password screen and shutdown the phone via powerbutton.
  7. Reboot and sync. Your phone should stay unlocked.

How to Re-Lock your Phone without Chevron 7 

Don’t want your phone unlocked anymore? You can re-lock the phone by using the MFG registry editor.

  1. Open the MFG app and use the password to open it. If you don’t know it’s (appmfg#*#)
  2. Go to Engineer Menu -> Other Settings -> Edit Registry
  3. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  4. Set your input path to “\Comm\Security\LVMod”
  5. Set your input key to “DeveloperUnlockState” and set to DWORD
  6. Hit Query. Output result should return a “1″. If it does continue.
  7. Set your input data box to “0″ and hit SET. Output result should be 0
  8. Your phone is now locked. To Unlock the phone redo the above steps but set back to “1″

How to Re-Set PortalUrlInt and PortalUrlProd Keys

This will allow Zune re-lock your phone as well as being useful for updating.

  1. Open the MFG app and use the password to open it. If you don’t know it’s (appmfg#*#)
  2. Go to Engineer Menu -> Other Settings -> Edit Registry
  3. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  4. Set your input path to “\Software\Microsoft\DeviceReg”
  5. Set your input key to “PortalUrlProd” and set to STRING
  6. Hit Query. Output result should return data. If it does continue.
  7. Set your input data box to “https://developerservices.windowsphone.com/Services/WindowsPhoneRegistration.svc/01/2010” and hit SET.
  8. Keep this screen open and continue to Part 2

Part 2

  1. Set your ROOT PATH to “HKEY_LOCAL_MACHINE”
  2. Set your input path to “\Software\Microsoft\DeviceReg”
  3. Set your input key to “PortalUrlInt” and set to STRING
  4. Hit Query. Output result should return data. If it does continue.
  5. Set your input data box to “https://developerservices.windowsphone-int.com/Services/WindowsPhoneRegistration.svc/01/2010” and hit SET.
  6. Backout to the password screen and shutdown the phone via powerbutton.
  7. Reboot and sync. Your phone should re-lock with every sync.

Other user added this:
Here is the method to remove the 10 app limit for sideloading. Please take note as it uses a different value than the regular method used for other phones.[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\ Install]
“MaxUnsignedApp”=dword:2147483647The number is the decimal value for the actually needed key 7FFFFFFF. The Registry editor in MFG app does not accept Hex keys, and if you use the 7FFFFFFF value, it will set it to zero, and WILL prevent you from sideloading ANY apps. This requires a restart after setting the value.
Categories: WP7 Tags: , ,

Transparent wallpapers for the WP7 lock screen

While I was waiting for the Barςa game start (victory 1 – 0 over Villareal) I was reading some tech blogs and I found some posts about creating “transparent wallpapers for WP7″ that you can read here and hereWP7 Barcelona logo transparent wallpaperI don’t remember how I got there and they are old posts but I was curious, I thought it was somewhat cool and one of the few customizations I’ve seen without “hacking” the phone.

So at half time I wanted to make my own, of what else but the greatest football team in the world, FC Barcelona! The first thing I did was search for a good sized logo with clear borders and a solid color around it so that it would be easier to “cut out” (image/photo editing is not my forte).

After that I created a 480 by 800 pixel project in Paint.net and added the image as a layer. You can do it in either way you prefer, but I combined the layers and then used the magic wand tool to select the area around the logo and deleted it so it would be “transparent”. When finished, I saved the image as a png file. You can see the image to the right and download it from here.

When you’re done, the next thing is to get it to your phone. As you can read in the inspirational posts, syncing the file with the Zune software would convert it into a jpg file and it would lose the transparency (I didn’t try it out actually to confirm). So I did what they advised there and sent it by email. When I received it I just opened it and set it as the wallpaper. That’s it, worked perfectly.

Now when I turn the phone on I get the logo over a black background and when I touch and start sliding the lock screen it activates the transparency. Personally I actually like this effect, maybe others would prefer to see their tiles immediately but it looks like the way that the lock screen works won’t allow it.

Hope you guys like it (well not you Real Madrid fans anyway).

Here you can see it in action.

 

Update October 8, 2011: I just updated my phone to 7.5 and it seems that the transparency doesn’t work anymore.

Categories: WP7
Follow

Get every new post delivered to your Inbox.