Categories
Context Menu Linux SSL Win 7 Win7 Windows Windows 7 Windows Vista Windows7

Reveal, Copy and Get File Full Path with Copy as Path in Windows Vista

Windows 7 (and Vista) comes with a hidden context-sensitive menu or right click menu or shortcut menu that contains Copy as Path menu item or command. Copy as Path, which appears as menu item both for files and folder right click menu, as the name implies, will copy or grab the full path or shortcut to the file or the folder with just one button press and one click. Copy as Path is useful when user want to know the full path or actual location of a file or folder located deep inside a tree of directories or network file share, but want to avoid the hassle to traverse or navigate the path, or avoid having to manually copy and paste from address bar and type the file name.

To use Copy as Path press shift while right-clicking which will reveal the hidden context menu. You will now see the Copy as Path and a couple other options. Click on Copy as Path, then you can paste the full path to the file or folder in your destination application.

Right click context menu without and with hidden menu items (appear only when press Shift key while right clicking).

Categories
Bloomberg Linux Microsoft News Operating System OS Video Win 7 Win7 Windows Windows 7 Windows7

Microsoft Windows 7 OS Takes Off

High hopes for Microsoft’s latest operating system platform, Windows 7. Components communities keep their fingers crossed. (The Trade)

This Bloomberg video brought to you by News Distribution Network.

Categories
Bloomberg Linux Microsoft News Operating System OS Video Win 7 Win7 Windows Windows 7 Windows7

Microsoft Windows 7 OS Faces Piracy

Microsoft feels strongly about piracy, especially in China, and faces this problem head on. (The Trade)

This Bloomberg video brought to you by News Distribution Network.

Categories
Bloomberg Linux Microsoft News Operating System OS Video Win 7 Win7 Windows Windows 7 Windows7

Windows 7 Global Launch

Windows 7, Microsoft’s newest operating system goes on sale around the world. (Bloomberg News)

This Bloomberg video brought to you by News Distribution Network.

Categories
Bloomberg Linux Microsoft News Operating System OS Video Win 7 Win7 Windows Windows 7 Windows7

Microsoft Launches Retail Store

Microsoft takes a new financial risk by getting into retail despite the economy. (The Trade)

This Bloomberg video brought to you by News Distribution Network.

Categories
CLI Command Line Linux Time Timezone Win 7 Win7 Windows Windows 7 Windows7

Windows 7 (and Windows 2008) Command Line Utility to Change Time Zone

Here is a great hidden command line utility which is available starting in Windows 7, “tzutil.exe,” which can be used to view or change the computer’s Time Zone. To use this command:

1. Open the Command Prompt.
2. Enter any of following commands:

tzutil /g (To view current time zone)
tzutil /l (To get a list of all available time zones)
tzutil /s time_zone_ID (To change time zone)

time_zone_ID is the new time zone you want to set. Fox example, if you want to set the time zone to “Eastern Standard Time”, then the command would be:

tzutil /s “Eastern Standard Time”

See also Set Time Zone From Command Line in Windows 2003, XP and 2000

Categories
CLI Command Line Time Win 7 Win7 Windows Windows 7 Windows7

Windows 7 Command Line Utility for Timezone Management – tzutil.exe

tzutil.exe” is a command line utility introduced in Windows Vista (also in Windows 7 and Windows 2008) which can be used to change Time Zone or to view the current time zone information. To use this command (from a command prompt as administrator):

tzutil /g – To view current time zone
tzutil /l – To get a list of all available time zones
tzutil /s <time_zone_ID> – To change time zone

time_zone_ID is the new time zone which you want to set. For example, if you want to set the time zone to Eastern, Central, Mountain or Pacific Daylight Time, you would use any of the following:

tzutil /s "Eastern Daylight Time"
tzutil /s "Central Daylight Time"
tzutil /s "Mountain Daylight Time"
tzutil /s "Pacific Daylight Time"

Windows change timezone command.

Categories
Bootable Flash Drive Install Linux USB Win 7 Win7 Windows Windows 7 Windows Vista Windows7

Creating Bootable Vista / Windows 7 USB Flash Drive

This will walk through the steps to create a bootable USB flash drive. These instructions assume that you are running Windows Vista or Windows 7.

Required:

  • USB Flash Drive
  • Microsoft OS Disk (Vista / Windows 7)
  • A computer running Vista / Windows 7

Step 1: Format the Drive
Warning: This will erase everything on your USB drive.

  1. Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator” – you must do this or it may not work, displaying the message: “Could not map drive partitions to the associated volume device objects”
  2. Find the drive number of your USB Drive by typing the following into the Command Prompt window:
    – diskpart
    – list disk
    The number of your USB drive will listed. You’ll need this for the next step. I’ll assume that the USB flash drive is disk 1.
  3. Format the drive by typing the next instructions into the same window. Replace the number “1” with the number of your disk below.
    – select disk 1
    – clean
    – create partition primary
    – select partition 1
    – active
    – format fs=NTFS
    – assign
    – exit
    When that is done you’ll have a formatted USB flash drive ready to be made bootable.

Step 2: Make the Drive Bootable
Next we’ll use the bootsect utility that comes on the Vista or Windows 7 disk to make the flash drive bootable. In the same command window that you were using in Step 1:

  1. Insert your Windows Vista / 7 DVD into your drive.
  2. Change directory to the DVD’s boot directory where bootsect lives:
    – d:
    – cd d:boot
  3. Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G: by the computer:
    – bootsect /nt60 g:

Step 3: Set your BIOS to boot from USB
This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.

Categories
CLI Command Line Linux Reboot Restart Scheduled Tasks Win 7 Win7 Windows Windows 7 Windows Vista Windows7 XP

Schedule Windows reboot (restart) from command line with schtasks

Schedule one-time reboot:

schtasks /create /tn “Reboot” /tr “shutdown /r /t 1” /sc once /st 01:00:00 /sd 08/18/2009 /ru “System”

Create scheduled task to run twice daily:

schtasks /create /tn “TTF” /tr “C:TempTttf.bat” /sc daily /st 06:00:00 /sd 08/25/2009 /ri 720 /du 720 /ru “System”

Create scheduled task to run every weekday, M-F:

schtasks /create /tn “Reboot” /tr “shutdown /r /t 1” /sc WEEKLY /d “MON, TUE, WED, THU, FRI” /st 01:00:00 /sd 08/18/2009 /ru “System”

To update an existing scheduled task run the same command as above with any desired modifications. You will be prompted with, “WARNING: The task name “Reboot” already exists. Do you want to replace it (Y/N)?”

Upon successful creation the OS will report, “SUCCESS: The scheduled task “Reboot” has successfully been created.”

You can also update an existing scheduled task from the Windows command line:

schtasks /change /tn “Reboot” /st 04:00:00 /sd 12/11/2009

Schtasks supports the following options
SCHTASKS /Change [/S system [/U username [/P [password]]]] /TN taskname
     { [/RU runasuser] [/RP runaspassword] [/TR taskrun] [/ST starttime]
       [/RI interval] [ {/ET endtime | /DU duration} [/K] ]
       [/SD startdate] [/ED enddate] [/ENABLE | /DISABLE] [/IT] [/Z] }

Description:
    Changes the program to run, or user account and password used
    by a scheduled task.

Parameter List:
    /S       system      Specifies the remote system to connect to.

    /U       username    Specifies the user context under which schtasks.exe
                         should execute.

    /P       [password]  Specifies the password for the given user context.
                         Prompts for input if omitted.

    /TN      taskname    Specifies which scheduled task to change.

    /RU      username    Changes the user name (user context) under which the
                         scheduled task has to run. For the system account,
                         valid values are “”, “NT AUTHORITYSYSTEM” or “SYSTEM”.
                         For v2 tasks, “NT AUTHORITYLOCALSERVICE” and
                         “NT AUTHORITYNETWORKSERVICE” are also available as well
                         as the well known SIDs for all three.
    /RP      password    Specifies a new password for the existing user
                         context or the password for a new user account.
                         This password is ignored for the system account.

    /TR      taskrun     Specifies the new program that the
                         scheduled task will run.

    /ST      starttime   Specifies the start time to run the task. The time
                         format is HH:mm (24 hour time) for example, 14:30
                         for 2:30 PM.

    /RI      interval    Specifies the repetition interval in
                         minutes. Valid range: 1 – 599940 minutes.

    /ET      endtime     Specifies the end time to run the task. The time
                         format is HH:mm (24 hour time) for example, 14:50
                         for 2:50 PM.

    /DU      duration    Specifies the duration to run the task. The time
                         format is HH:mm. This is not applicable with /ET.

    /K                   Terminates the task at the endtime or duration time.

    /SD      startdate   Specifies the first date on which the task runs.
                         The format is mm/dd/yyyy.

    /ED      enddate     Specifies the last date when the task should run.
                         The format is mm/dd/yyyy.

    /IT                  Enables the task to run interactively only if the
                         /RU user is currently logged on at the time the job
                         runs. This task runs only if the user is logged in.

    /RL      level       Sets the Run Level for the job. Valid values are
                         LIMITED and HIGHEST. The default is to not change it.

    /ENABLE              Enables the scheduled task.

    /DISABLE             Disables the scheduled task.

    /Z                   Marks the task for deletion after its final run.

    /DELAY   delaytime   Specifies the wait time to delay the running of the
                         task after the trigger is fired.  The time format is
                         mmmm:ss.  This option is only valid for schedule types
                         ONSTART, ONLOGON, ONEVENT.

    /?                   Displays this help message.

Schtasks Examples:
    SCHTASKS /Change /RP password /TN "Backup and Restore"
    SCHTASKS /Change /TR restore.exe /TN "Start Restore"
    SCHTASKS /Change /S system /U user /P password /RU newuser /TN "Start Backup" /IT

Categories
Linux MSConfig Win 7 Win7 Windows Windows 7 Windows Vista Windows7

Set up your laptop for work: Turn off the crap

When it comes to setting up your work laptop, I suggest that you should only care about speed and efficiency. This means that your computer should be (a) booting up quickly, and (b) running smoothly (without crashes).

The key to a quick startup is minimising the number of programs that run automatically when you bootup Windows. Click the Start button, then Run, and type msconfig. Click on the Startup tab and deselect all of the programs that you do not want to run automatically. For more detailed advice, I refer you to the excellent Make XP Boot Faster from Wikihow.

In order to keep your computer running smoothly you should turn off all of the useless services that run by default in Windows XP. I recommend that you read A Guide To Turning Off Useless XP Services by JasonN and make the necessary changes. If in the future MARCS students begin using Windows Vista *shudder* then I recommend you find a similar guide for turning off all of the useless crap in Vista.