Thursday, March 29, 2007

Vista: How to get yourself some 24h time (tip by Slimy)

Start -> Control Panel -> Regional and Language Options -> Formats -> Customize this Format -> Time -> Time Format -> Capitalize the "h". Your final Time Format should be: H:mm:ss or HH:mm:ss
The difference of the two is the first will display 8 ocklock as 8:00 and the second will display it as 08:00

Vista: Extended Disc Cleanup

The command line parameters sageset & sagerun still work in Vista. You can set it to delete files from a previous Windows installation, error dump files, Temporary Windows installation files, Thumbnails, Files discarded by Windows upgrade, Error Reporting Files, ect. Note: It performs a Disc Cleanup on all disks.

You can use the shortcut in the attached zip file or create a new shortcut with this command line:
%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
Edit the shortcut (Right click and select Properties), set it to run Minimized and change the Icon to %SystemRoot%\System32\Cleanmgr.exe.

Vista: Switch, Change or Set 64-Bit WMP11 in Vista x64 as Default

Quote - (My Digital Life)
In Windows Vista x64, the 32-bit edition of Windows Media Player 11 (WMP 11) is set as the default Windows Media Player. This is done to avoid and reduce any compatibility issues or problems that may arise with codecs or other DirectShow related plug-ins or add-ons that majority of them still built for 32-bit operating system. However, if you decide to use the 64-bit version of WMP11 with your 64bit version of Windows Vista, especially now that more and more codecs support 64-bit computing platform, and a x64 FFDShow codec which can decode virtually any audio or video media files has been released, you can use a few easy method to launch 64 bit WMP11 or simply switch, change or swap the system default media player to x64 Windows Media Player, and revert back to x86 version when you need to.

By default, the 32-bit WMP 11 x86 is located at path of %ProgramFiles(x86)%\Windows Media Player, and 64-bit WMP11 x64 is located at folder of %ProgramFiles%\Windows Media Player. So the first method to use 64-bit Windows Media Player is by launching WMP from its x64 location.

Press the Start button, type %Programfiles%\Windows Media Player\wmplayer.exe and press Enter. Alternatively, you can create a shortcut with target and location set to the above, and place the shortcut on the Desktop or in Quick Launch for easy access.

Second method: You need to perform 2 steps each to swap to 64-bit version or to undo the change back to 32-bit version WMP. The unregmp2.exe command (first step) changes the operating system shortcuts to point to WMP 64bit, while the second registry step changes the file associations default program to WMP64-bit, which determines which program will be used when you double click on a media file.

To switch and change to x64 or 64-bit of WMP11, open an Elevated Command Prompt as Administrator and type the following command: unregmp2 /SwapTo:64

Then, open the Registry Editor (regedit), then navigate to the the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wmplayer.exe. Then set the registry subkey Path to be %ProgramFiles(x86)%\Windows Media Player, and the (Default) subkey to “%ProgramFiles%\Windows Media Player\wmplayer.exe” (include quotes).

To undo the x64 change, switch, swap, revert and change back the default media player to Windows Media Player 11 x86 32-bit edition, also open an elevated command prompt with administrator privileges, but issue the following command instead: unregmp2 /SwapTo:32

Then, open the Registry Editor, and reset the value for registry subkey of Path and (Default).

With either one of two methods, you will have complete full x64 Windows Media Player experience.

Vista: Turn Windows Features on or off

Some programs and features that are included with Windows, such as Internet Information Services, must be turned on before you can use them. Certain other features are turned on by default, but you can turn them off if you don’t use them.

In earlier versions of Windows, to turn a feature off you had to uninstall it completely from your computer. In this version of Windows, the features remain stored on your hard disk, so you can turn them back on if you want to. Turning off a feature does not uninstall the feature, and it does not reduce the amount of hard disk space used by Windows features.

   
Reduced: 78% of original size [ 510 x 70 ] - Click to view full image


Open the Control Panel, click Programs, click Turn Windows features on or off in the Programs and Features section (see picture above). Or,.. press the Windows button, type OptionalFeatures and press Enter.

   
Reduced: 86% of original size [ 461 x 407 ] - Click to view full image


To turn a Windows feature on, select the check box next to the feature.
To turn a Windows feature off, clear the check box.

Vista: Guided Help

Guided Help is an interactive tool that describes how to accomplish a task and completes it for you.
Guided Help can either perform the task automatically or show you how to do it step by step.

View Guided Help topics: Click on your Desktop and press F1. Type Guided Help in the search box and press Enter. Select Guided Help: recommended links, scroll down and select a topic. Select "Do it automatically" or "Show me step-by-step (Recommended)".

​ ​ ​ ​

Note: Turn on Online Help to get the most up-to-date content:
-> Click on the Online Help Button (bottom right) and select "Get online Help".
Be patient if the guide opens the Control Panel when you set it to Display as a menu. wink.gif

The zip file below contains shortcuts which launch the following Guides:
• Change the program that opens a type of file
• Change your default printer
• Find your computer's IP address
• Show all icons in the notification area
• Show or hide common icons on the Desktop
• Show or hide file name extensions
• Show hidden files

Vista: Repartition a hard disk by using the Shrink feature

Note: Backup Operator or Administrator is the minimum membership required to complete the actions below.
Caution: If the partition is a raw partition (that is, one without a file system) that contains data (such as a database file), shrinking the partition may destroy the data! For detailed information, open Disk Management, click Help on the menu bar, click Manage Basic Volumes, and then click Shrink a Basic Volume.

Shrink an existing partition to create new unallocated space, from which you can create a new partition:
Open the Start Menu, right-click on Computer, click Manage, expand Storage & select Disk Management.
Right-click a partition, select Shrink Volume, Enter the amount of space to shrink in MB & click Shrink.
Right-click the new unallocated space, click New simple volume, click Next, Enter the Simple volume size in MB, click Next, assign a drive letter, click Next, Enter the Volume label, click Next, and then click Finish.

Vista: Customize / hide the Favorite Links list

The Navigation Pane is devided into two sections: Favorite Links & Folders.
The Favorite Links contains links to commonly used folders and saved searches.
You can add new links by dragging folders and/or saved searches into the list.
You can also drag folders from the Folders list to the Favorite Links section.
This is a convenient way to quickly access folders and searches you use often.
You can reposition a link by dragging it to the position where you want it to be.
To remove a link from the list, right-click on the link and select Remove Link.
Restore default links: right-click a blank area and select Restore Default Favorite Links.

Hide Favorite Links: drag the Folders list to the top of the Navigation Pane (see picture).

​ ​ ​ ​

Vista: Enable Advanced Disk Performance

When enabled, the hard disk drive operates in write-back cache mode, in which all the data that gets written to the drive is first stored in the cache, and then later written to the disk. Both writes and reads are cached in this case. When disabled, the HDD operates in write-through cache mode, in which all data that gets written to the drive is immediately written to the disks and also stored in the cache. Writes are not cached, but reads are.

Note: This setting is recommended only for disks with a backup power supply, it further improves disk performance, but it also increases the risk of data loss if the disk loses power.

Open Device Manager, expand Disk drives, right-click on a Disk drive, click Properties, click the Policies tab, select the Enable advanced performance check box, and then click OK.

Vista: Take Ownership Context Menu Item

TakeOwn.reg adds a Take Ownership Context Menu Item to all files and folders. It opens an Elevated Command Prompt which recovers full access to the selected file / directory, sub directories and their content.
You can access the Context Menu Item by holding down Shift + right-click on a file or folder.

    

If you want to access the Take Ownership Context Menu Item on an exe file, you must merge "RunAsAdmin_Exe-.reg"; this reg file removes the "Run as Administrator" Context Menu Item from all exe files (they both use the runas key). Merge "RunAsAdmin_Exe+.reg" if you want to restore the "Run as Administrator" Context Menu Item.

Install: Merge TakeOwn+.reg
Uninstall: Merge TakeOwn-.reg

Vista: Deleting the Undeletable

As many of us move forward from Windows XP or prior beta versions of Windows Vista to the final RTM version, I thought this little tip might be in order. You may be aware that Windows Vista includes a number of different ways to upgrade a computer, from a straight in-place upgrade (insert CD, run setup and choose upgrade) to Windows Easy Transfer, which allows you to copy settings, programs and data from an old setup a fresh shiny new OS environment. In doing this, it's not unusual to find some folders that can't be accessed, even by an administrator, because their ACLs were set for accounts with SIDs that applied to an old partition.

How do you take it back? -> The secret lies in two command-line utilities, one ancient, the other completely revised for this release. Respectively, these are takeown (which takes ownership of a file or directory) and icacls (which sets new ACLs on that directory). I created a small batch command on my system called itsmine.cmd, as follows:

takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t


From an elevated command prompt, you can run a command such as itsmine D:\hard_to_delete and this will reset ownership and ACLs on the hard_to_delete directory such that a command like rd /s D:\hard_to_delete should work.

Vista: Keyboard shortcuts

Ctrl+Shift+Esc -> Task Manager (Ctrl+Alt+Del -> Tasks Screen)
Ctrl+Shift+Enter -> Run an executable with elevated privileges
Windows logo key+1-0 -> Launch the shortcuts on the Quick Launch toolbar
Windows logo key+T -> Cycle through programs on the taskbar
Windows logo key+Tab -> Cycle through programs on the taskbar by using Flip 3-D
Ctrl+Windows logo key+Tab -> Use the arrow keys to cycle through programs on the taskbar by using Flip 3-D
Windows logo key+Spacebar -> Bring all gadgets to the front and select Windows Sidebar
Windows logo key+G -> Cycle through Sidebar gadgets
Windows logo key+X -> Open Windows Mobility Center
Open a folder and press & release Alt -> Show Menu Bar (also works in Internet Explorer)

Vista: Remove the arrow (Shortcut Overlay) without side effects

Most Tweak programs remove the arrows by renaming or removing the IsShortCut String Values from the registry. Windows uses this value to track links, if you remove or rename the IsShortCut value lots of programs and features that use links won't work correctly -> in Vista the shortcuts in Favorite Links, Media Center and in the Games Explorer disappear or won't work anymore.

The files in the zip file below remove the arrows the same way as TweakUI does in previous Windows versions; it refers the icon to another icon. If you refer it to a completely blank icon, the overlays turn black when you restart Explorer or Log Off and Log On again. Solution: I've created a blank icon with some transparent pixels and with the same sizes as the default arrow -> no more arrows & no black overlays. smile.gif

Install: If you used a program or a reg file that removed the IsShortCut values; merge RestoreArrow.reg to restore them. Copy Blank.ico to the Windows directory from Vista, so if you installed Vista on the D drive, copy it to D:\Windows\. Merge RemoveArrow.reg and Log Off or Restart your Computer.

Windows Vista 64-bit users: Merge RemoveArrow_[C].reg if you installed Vista on your C drive, Merge RemoveArrow_[D].reg if you installed Vista on your D drive. If you installed Vista on another drive, just edit one of the RemoveArrow_[X].reg files so that it points to the Windows directory of Vista.

Uninstall: Merge RestoreArrow.reg and remove Blank.ico from your Windows directory.
Log Off or Restart your computer.

Vista: Convert web widgets into gadgets for Windows Sidebar

With Amnesty™ Generator you can convert millions of web widgets, games and videos – designed to live on home pages, blogs or MySpace – into gadgets for your Sidebar. If you like widgets on the web, you’ll love them on your Sidebar.

   

Key Features:
• Create gadgets without any coding experience
• Autofill feature does the work for you
• Inline step-by-step instructions included
• Supports Flash widgets, games and video
• It's freeware

Vista: Customize the appearance of Windows Sidebar

Windows Sidebar Styler is an application designed to allow users to tweak the Sidebar’s User Interface.
Custom styles allow users to customize the appearance of Windows Sidebar so that it fits the style of other UI elements, such as the Aero Glass colorization or third party themes.
You can save your visual styles and share them with other users.

​ ​ ​ ​
Reduced: 80% of original size [ 499 x 482 ] - Click to view full image


Windows Sidebar Styler also adds support for WPF Gadgets; Gadgets now take full advantage of Windows Presentation Foundation - a powerful managed code-oriented framework for presenting rich visual compositions such as vector graphics, 3D drawing, animations and more.

Original: Minimalistic Style:

The visual styles below remove the grey Panel background, the "Add Gadgets" button + the Close, Config & the Gripper buttons that appear when you hover over the Gadgets (see image above). You can still access these functions in the right click menu from the Sidebar & Gadgets. The MinimalistiClear Style also removes the backgrounds.