Disable NTFS last access time

Posted on .

Small increase in performance by having NTFS not note down the time of each file access.

Download
  ntfs-disable-last-access-time.reg (150 bytes, 2,054 hits)

Disable Superweapons in Red Alert 3

Posted on .

Previous versions of Command & Conquer™ had the ability to disable super weapons, but in Red alert 3 this option is abscent. After much googling for a solution, I spent some time creating my own mod that simply disabled the superweapons.

I like to play turtle vs. the Ai in skirmish, and develop intuitive ways to crush my opponent without having to battle vs. super weapons every 5 minutes.

Created based on SDKv3 and RA3v1.12, it disables the ability to build the weapons for both player and AI.

I created two different mods that disable one or both types of superweapons.

Update: Works in Uprising according to this comment.

Continue reading

Enable or Disable a user account from command prompt

Posted on .

In a domain environment you can enforce logon times for individual users, I wanted to emulate this behaviour in a workgroup.

To do this first I learnt the following commands in command prompt [cmd] (run as Administrator):

To disable: net user Bob /active:no
To enable: net user Bob /active:yes

I then created 2 tasks in Task Scheduler to disable and enable at the appropriate times.

When creating the tasks its important to note:

  • Run with highest privileges
  • Run even when user not logged on
  • The path to the “net” command is “C:\Windows\System32\net.exe”
  • The rest of the command line goes in the arguments box

This helped to discourage my son from waking up at 4am to play Plants vs Zombies™ on the computer.

Add Google UK search to Firefox

Posted on .

I upgraded to Firefox 4 and found the default google search was sending me to google.com. This meant US shopping results in dollars, amongst other things.

In your Firefox directory,

Windows:
C:\Program Files\Firefox or C:\Program Files (x86)\Firefox

Linux:
/usr/lib/firefox-xxxx/

You will find a folder called “searchplugins“. In there is google.xml

Make a copy of this and edit the contents so that each mention of “google.com” changes to “google.co.uk”. Also change the title (ShortName) from “Google” to “Google UK”.

In linux this is easy,
sed -e 's/google.com/google.co.uk/g; s/ShortName>Google/ShortName>Google UK/' google.xml | tee google-uk.xml

In windows it maybe a little more tricky as UAC gets in the way. The easiest way to do it, is to copy google.xml to your desktop, rename it to google-uk.xml, open it in notepad, make the changes and move it back.

Alternatively you can download google-uk.xml from here and place it in the searchplugins folder and restart Firefox.

Download
  google-uk.xml (2.3 KiB, 1,859 hits)