Monday, January 17, 2011

Disable Java Update - Windows - Windows Servers

Disable Java Update on all systems, create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=dword:00000000

Source:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294083

Wednesday, January 12, 2011

Virtuozzo - Change Mac Address - update license - Print IT

Changing a license for your program to match your MAC address that the license was purchased for when the vendor will not help you unless you buy product support AND upgrade your software.

Note*
Hey, this is a Network MAC, don't forget to make sure people log off the server.


On the Virtuozzo server, from a command line enter the command below and your Virtual Environment's ID (VEID):

example: vzctl set VEID --mac 00-AA-BB-CC-DD-EE --save

If your ID for VPS-XXX is 1300 (Enter the actual VPS ID) as in example below:
vzctl set 1300 --mac 00-AA-BB-CC-DD-EE --save


Then go to your program, let's say PrintIT, and enter the current MAC address and your current license #.

License Key (examples only - they do not reflect the actual licenses or MAC addresses):

4Xjz32hjyaub1T5

VMAC Address
00-AA-BB-CC-DD-EE

On the Windows Interface (not on the Virtuozzo host) - Go to Control Panel - Prov Net > On the License tab, enter your current MAC and License created especially for that MAC address.

Click OK, you are done.




Tuesday, January 4, 2011

WIndows User Profile corruption - Windows 2008 Server, Vista, Windows 7

Windows 2008 user profile got corrupted by perhaps a network problem or unplanned server reboot.

The issue can happen on Vista and Windows 7 as well, you can find the same registry "profilelist" file structure.

When the user attempted to login he was prompted that the profile was bad - the server was inaccessible to his account.
The profile list is in the following location:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\

The issue is that there are two SID files of the same name.
One with a .bak extension and one without.

The one without the extension, pointed to:
C:\Users\temp
The .bak SID, pointed to the original user profile, example below:
c:\users\username

example:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-x-xx-xxxxxx...-xxx.bak

The temp profile only had 3 keys as opposed to the 7 keys the former profile had - and still has after removing the .bak extension.
* The final step is to change the state property of the SID set to Zero.

This can happen on Vista and Windows 7 as well!

You can prevent your computer from being inaccessible by creating a second user on the computer in Control Panel > Users, so that you can log in with a good user profile, then edit the other profile.
The issue is rare, and you may never need it - good prevention on the outside chance that you run into this issue.