Shaun Mccran

My digital playground

15
J
U
L
2010

How to change or move your profile files in windows 7

Whilst being technical support for a family member I found the cause of one of his pc issues to be that he had used all the space on his primary hard drive, but had Gigs of free space on a secondary hard drive. All the space was pretty much used by photos and music within his 'users' profile directory.

This article deals with how to move your profile files to another drive other than the default C partition.

[ More ]

29
M
A
Y
2010

Eclipse SDK workspace issues and problems creating projects

I've recently picked up a new laptop, and in the process of setting it up for development purposes I've had some issues. Some are Windows 7 based, the others are Eclipse workspace related.

I thought I'd put together a short entry on the issues I encountered, and how I overcame them.

[ More ]

20
F
E
B
2009

Top ten windows Vista tips

A while ago I upgraded to windows Vista, I think I'm one of the few who actually really like this operating system. Like anything tho, out the box there are some issue with it, but with a few simple tweaks you can increase its performance and responsiveness no end.

So here is a top ten run down of some of the best Vista tweaks I've found:

1. Turn off Windows Search Indexing

Windows Vista search indexing is constantly reviewing files on your system to make their contents available for quick searching. This is handy, but can severely impact system performance.

To disable constant indexing:

  • Click Start then Computer
  • Right Click the C: Drive
  • On General Tab, Uncheck Index this drive for faster searching
  • On the subsequent dialog box, Select Include subfolders and files

2. Turn off Remote Differential Compression

Remote Differential Compression measures the changes in files over a network to transfer them with minimal bandwidth rather than transferring an entire file that has previously been moved. By constantly checking for file changes, this service can hinder system performance.

To disable this service:

  • Open Control Panel
  • Switch to Classic View
  • Select Program Features
  • Choose Turn Windows features on and off
  • Scroll down and uncheck Remote Differential Compression

3. Turn off Automatic Windows Defender Operation

Windows Defender real-time protection against malware continues to run despite having Automatic operation disabled.

To disable this feature:

  • Open Control Panel
  • Select Windows Defender
  • Choose Tools from the top menu
  • Select Options
  • Uncheck Auto Start at the bottom of the window

4. Turn off Automatic Disk Defragmentation

Windows Vista and its always-on defragment feature isn't really that necessary and can cause system slow down. Just remember to run a defrag manually every week or so.

To disable this:

  • Click Start then Computer
  • Right Click the C: Drive
  • Click on Properties
  • Select the Tools Tab
  • Click on Defragment Now
  • Uncheck Run on a schedule

5. Add a 2GB or higher USB Flash drive to take advantage of Windows Ready Boost (Additional Memory Cache)

Ready Boost is Microsoft's name for using a USB thumb/flash drive to provide some quick access memory the operating system can use as extra RAM. The Ready Boost system can significantly improve system performance.

To set this up:

  • Insert a USB Flash Drive
  • Click Start then Computer
  • Right Click the USB Drive in My Computer
  • Select the Ready Boost Tab
  • Choose Use this device
  • Select as much space as you can free up for RAM usage vs. Storage

6. Turn off Windows Hibernation

Windows hibernation background services can use a large amount of system resources. If you don't use the Hibernate feature on a regular basis you may want to disable it to give Vista a performance boost.

To disable Hibernation:

  • Select the Control Panel then Power Options
  • Click Change Plan Settings
  • Click on Change Advanced Power Settings
  • Expand the Sleep selection
  • Expand the Hibernate After selection
  • Crank the selector down to zero
  • Click Apply

7. Turn off System Restore

Analysis and restore point creation by Windows Vista can eat a fair amount of system resources. Disabling this service will obviously mean the system restore feature in Vista will not be available in the event of a system crash. Change this at your own risk.

To disable this service:

  • Control Panel>System
  • Click System Protection on the left panel
  • Uncheck the main system drive
  • Agree to the confirmation

8. Disable User Access Control (UAC)

This much-loathed new Vista feature attempts to protect your system from malware infection by making you manually confirm a whole host of everyday user operations. While it doesn't directly impact performance, it can be annoying and might be more hassle than good.

To disable User Access Control:

  • Click Start then Control Panel
  • Select User Accounts
  • Select Turn User Account Control on or off
  • Uncheck User Account Control Box
  • Restart as recommended

9. Disable excess Windows Services that Auto-Launch at Startup

Just like Windows XP, Vista ships with all kinds of services enabled that load at startup and may never be used by most users.

To see what loads at startup and disable the ones you likely won't be needing (they can always be started manually later):

  • Click Start then Control Panel
  • Select Administrative Tools
  • Choose System Configuration
  • Click the Services Tab
  • You can safely deselect:
    • Offline Files (unless you're using Offline File Sync)
    • Tablet PC Input Service (unless you have a tablet PC)
    • Terminal Services
    • Windows Search (If you have already disabled indexing)
    • Fax (unless you're using a fax modem)

10. Disable Excess Windows Features

Windows ships with other features that are listed separately in the Vista operating system from the startup services.

You can view and disable these features by:

  • Clicking Start then Control Panel
  • Select Program Features
  • On the left panel, select Turn Windows Features on or off
  • You can safely deselect:
    • Indexing Service
    • Remote Differential Compression
    • Tablet PC Optional Components
    • Windows DFS Replication Service
    • Windows Fax & Scan (unless you use a modem for faxing)
    • Windows Meeting Space (unless you use the Live Meeting Service)

17
F
E
B
2009

Creating an MS Dos style text file directory listing - invoked with cfexecute

I have had a need in the past to list directory contents, and filter on the extension type within that directory.

You can do this using cfdirectory, but you can also use cfexecute to run a batch file, which in my experience is a quicker solution than having coldfusion reading large directories.

Create a batch file like this:

view plain print about
1dir \yourdir\*.* /s/b >dir.txt

"\yourdir\*.*" is optional you can filter this by file type by adding a file extension. EG \ or \*.log or \logs\*.*

"dir.txt" is the filename you want the listing to be stored in, choice of name/location is up to you. You can write it out to any directory that the server has permissions on.

eg mylogs.dat or \mylogs\list.txt