StevenWhiting.com

A place for info I've learnt in IT & stuff. (I get a little kick back from affiliate ads & links, just so you are aware)

WSUS Tip

WSUS can only be installed on a standalone server 2003 box or a server 2003 box that is a member of a domain. It can’t be installed on a domain controller and will just bring up an error at the end of the install saying it failed.

StyleXP and SP3

I like unlicensed themes in XP, my fav being cocoa (http://stevenwhiting.com/files/[4455]cocoa.zip)I got it from a website long ago so not sure who created it.
Anyway. Having used StyleXP for ages to be able to use unlicensed themes, I came across an odd and annoying problem when I recently reinstalled XP and did all the updates. StyleXP no longer worked. Kept banging on about not working with my build of XP, even though it had SP3 installed so was the latest build.
Doing some searching it appears StyleXP doesn’t work with SP3 and it appears TGT Soft have never bothered to fix it according to reports from some users on the net.
Turns out all you have to do to use unlicenced themes is change a little known (well to me anyway) file in
windows\systems32
called uxtheme.dll
Meaning you can do away with StyleXP.
This forum can help out
http://www.belchfire.net/index.php?showtopic=9001
For my own notes uxtheme.dll seemingly can be changed without XP moaning. Might need admin rights. I just changed it to uxtheme.dll.old and used this one
For SP3 v6.0.2900.5512 English

http://stevenwhiting.com/files/6.0.2900.5512_EN.rar

Saved all the theme files I wanted to use in
WINDOWS\Resources\Themes
I can then choose themes in Windows normal Control Panel Display area. However cocoa wasn’t an option. But I just went into the directory were I stored cococa and double clicked the cocoa.msstyles. It then opened the Display Properties window allowing me to set the cocoa style.
This maybe because it’s not a complete theme I’m not sure.

Why all this trouble?

uxtheme.dll is a protected operating system file. As such, Windows keeps
several copies of uxtheme.dll, plus compressed uxtheme.dl_ files at various locations
on your system as backups. If it senses that uxtheme.dll has been replaced
with a different version, it will immediately overwrite the changed version with
one of it’s backup copies. This is why it is necessary to find and rename
all copies of uxtheme.dll and uxtheme.dl_ everywhere on your system. Generally
speaking, there are only a handfull of places these backup copes are stored:

• The Windows XP installation CD.

• The Windows XP Service Pack 2 CD.

• A Windows XP installation folder on your hard drive (HP, Compaq and Dell computers are bad for this – if your system came with a ‘Recovery CD’ and not an actual ‘Windows XP’ installation CD, the XP installation files are somewhere on your hard drive, on an additional hard drive or on a parition. Will be in a ~/i386 folder somewhere on your system).

• C:\Windows\System32

• C:\Windows\System32\dllcache

• C:\Windows\System32\LastGood (if exists)

• C:\Windows\ServicePackFiles\i386

If just one uxtheme.dll or uxtheme.dl_ exists in any of these locations, Windows
will find it. That is why it is necessary to find ALL copies and backups
of this file and rename them so Windows can’t find them to overwrite your patched
copy. The reason you want to rename them is so that you can move them back
if you ever have to re-install Windows or SP3 comes out. Windows should
still run without a uxtheme.dll file. You’ll just be limited to the Windows
Classic desktop.

You’ll know that you’ve cleared out all the uxtheme.dll and .dl_ because when you go to replace the file XP will do this:

You just say Cancel and then Yes to the next box:

You’ll probably need to do a reboot.

For editing the VNCTool passwords
You’ll need a hex editor. Use this
http://www.hhdsoftware.com/Products/home/hex-editor-free.html
open up one of the VNC files like
VNCNewBuild.exe
And do a search like the following:

Hex

Important you put a . with the search string when searching and tick the Regular expression box or it won’t find the password you want to edit and then you have to spend ages looking for it.
Edit the password and then just Save As. and you’re done.
Simple.

runas /user:DOMAINNAME\USERADMINACCOUNT “C:\Program Files\Internet Explorer\iexplore”

To run IE as an admin with a regular user logged in. Useful if your admin account avoids proxies.

Comodo Internet Security Installation Error 1603

I have been using Comodo Internet Security since it’s initial release and it just keeps getting better and better. However whilst trying to install the most recent version 4.0 which was released on March 03 2010 I encountered an installation error 1603. Naturally I cleared all the junk files, disabled unnecessary services, cleared the registry and still couldn’t get it to work until I came across a clean up tool for cleaning up leftover data from previous installations.
Prerequisites

Version 4 is a major update so you will need to uninstall any previous versions that exist on your computer. I am assuming that you have already attempted installing the software and have it situated in a folder on your system.
Step 1- Download and Extract Software

Download the Comodo clean up tool from here. Extract the file using 7zip or similar. You should now have a folder called CIS Clean-up Tool.
CIS Clean Tool Folder
Step 2-Run File and re-install CIS4

Navigate to CIS Clean-up Tool folder and run the CIS File+Registry Cleaner.bat file. Vista and 7 users need to right click and select run as administrator. Follow the on-screen prompts. This file will clean all associated registry entries, files and folders that have been left over from previous installations.
CIS Clean Tool

To re-install CIS4 navigate to the download folder:

Windows XP C:/Documents and Settings/All Users/Application Data/Comodo Downloader and run CIS_Setup.msi
I am not currently running Vista or 7 so I am unsure where the default download folder is situated.

Your installation should now run smoothly. I would like to thank Ragwing for creating this script. If you have any questions then please contact me.

This is a solution that often works with Plesk install of wordpress for updating from within WP.

Hostname: try using localhost or localhost:21
User: Your normal FTP Username
Pass: Your normal FTP Pass.

If successful, your screen will go blank for a little while during the upgrade and then you will be fine.

In case anyone has the same problem. I’ve finally found what was causing the HDD to be read every few secs on my server 2003 box. Single Instance Storage Groveler. It’s related to RIS. Stopping the service stops the drive doing the above. Now the DC is finally quite again.

To find your Mac address you need to type in the following code from your E71’s homescreen…

*#62209526#

From there you will see your code that you must write down and punch in to the field that is asking for it. After this you should have access to the network.

http://www.e71fanatics.com/2008/07/e71-mac-address-for-wireless-networks.html

Permissions Table


http://img294.imageshack.us/img294/7019/permissionstable.png

http://www.techexams.net/technotes/70290/permissions.shtml

UPDATE – I’ve changed the link below to point to GE.TT a legit file sharing site.

MassUserCreationScriptSource.xls

Link to the script

Taken from Train Signal AD 2008 training.

File needs to be saved as a Formatted Text (Space delimited) file once done.

Here’s the easy way to add a bunch of users all at once!
1. Copy and paste the first and last names of your users into the AddUsersInfoHere sheet
2. Type the ChildOU name and Autofill it down.
3. Type the ParentOU name and Autofill it down.
4. Go to MassUserCreationScriptSource and check to see if the domain name and suffix are correct. If not, fill in
correct value on the first line and Autofill down.
5. On the SaveThisSheetAsTextFile sheet, make sure to autofill for all required user names.
6. Go to File–> Save As and save the sheet in a convenient place, making sure to select Formatted Text (Space Delimited)
as the file type.
7. Take your .prn file, rename it to something.bat.
8. Post to your server and run it at the command line!