Archive for the ‘Windows Vista SP1’ Category

Run only scripts that you trust. Disable Powershell Message

Monday, October 26th, 2009

This article can also be read at my new website: http://www.theitbros.com.

If you are like me you have probably run into the following error when trying to run powershell scripts. This becomes very annoying and tedious if you are running different scripts on a regular basis.

“Security Warning – Run only scripts that you trust. While scripts from the Internet can be useful, this script can potentially harm your computer. Do you want to run –.ps1? [D] Do not run [R] Run once [S] Suspend [?] Help (default is “D”):

Step #1

The first thing you need to do is launch Windows Powershell.

Step #2

Then enter the following commands:

get-executionpolicy

set-executionpolicy bypass

Powershell Trust Scripts

Powershell Trust Scripts

Now launch your script and enjoy not seeing that annoying message come up.

How to Install Windows 7 From a Flash Drive / USB Stick

Friday, July 31st, 2009

This is a short guide on how to install Windows 7 onto a computer from a USB Flash Drive / USB Stick or Portable Hard Drive. Since read speeds are faster from USB drive than your CD-ROM drive, this actually decreases the install time for Windows 7.

OCZ Flash Drive - Install Windows 7

OCZ Flash Drive - Install Windows 7

Step #1

The first thing you will need to do is format your USB Flash Drive or Portable Hard Drive so that your computer will read it as a bootable drive. So plug your flash drive into a workstation.

Step #2

Open up Command Prompt / CMD (located in Program Files->Accessories) and type the following commands:

DiskPart
List Disk (this will list the disks currently plugged into your computer. Most likely, the C: drive on that computer will be listed as disk 0, and you will have to look down the list to see which disk your flash drive is. Look at the corresponding disk sizes to easily figure it out.)
Select Disk 3 (I am using 3 as example for assigned flash drive)
Clean
Create Partition Primary
Select Partition 1
Active
Format FS=NTFS Quick
Assign (you can assign a particular drive letter if you want, example: assign=E:)
Exit (this will exit DiskPart)
Exit (this will exit CMD)

Step #3

Next you will need to either insert your Windows 7 CD and browse to the CD or open up your Windows 7 ISO and browse to the folders within it. (If you are using ISO, I would suggest extracting the contents to a new folder)

Step #4

Next you will need to spoof your flash stick so that the computer will think it is an install CD. From within the root of the Windows 7 CD or ISO contents, right click while holding shift key and select “Open Command Windows Here”. This will open up a Command Prompt window within that directory. Then input the following commands:

cd Boot
bootsect /nt60 E: (I am using drive letter E: as my flash drive)
exit (exits command prompt)

Step #5

Next simply copy over the entire contents of your windows 7 CD or ISO to your flash drive.

Step #6

Reboot the computer your are wanting to install Windows 7 on with the flash drive plugged in, hit the boot key (normally F12, DEL, or ESC) to select the boot device, boot to your flash drive, and it will go immediately to the Windows 7 Setup screen.

How to Install and Configure Canon ScanGear Tool

Tuesday, July 28th, 2009

This is a short guide to setting up the Canon ScanGear Tool to enable the Canon copiers to be able to scan directly from the copy machine to the computer.

Step #1

First you will need to download the ScanGear Tool from Canon’s website. Version 2.21 will work with all the non-color copiers like Canon IR-2200. Version 2.30 will work with all the newer Canon color copiers.

Download Canon ScanGear Tool V.2.21
Download Canon ScanGear Tool V.2.30

Step #2

Run the EXE you just downloaded. By default the EXE unpacks the contents of the EXE to your TEMP folder.

  • TEMP FOLDER LOCATION on Windows 2000 through XP : C:\Documents and Settings\NameofUser\Local Settings\Temp
  • TEMP FOLDER LOCATION on Vista through Windows 7 : C:\Users\NameofUser\AppData\Local\Temp
  • Step #3

    Launch the setup file located within the TEMP folder and go through the prompts to install the ScanGear Tool.

    Step #4

    Once installed, you will need to launch the ScanGear Tool and input the IP address of the copier. Make sure it connects successfully by click the “Test Connection” button.

    Canon ScanGear Tool

    Canon ScanGear Tool

    Step #5

    Now you can Scan with the copier. For this example, I am going to be using the “Microsoft Office Document Scanning” tool provided within Microsoft Office 2003 through 2010.

  • LOCATION OF MODS in XP, Vista, & Windows 7: Start Menu -> Microsoft Office -> Microsoft Office Tools
  • Step #6

    Now walk over to your Canon copier. Press the big SCAN button to switch the copier into SCAN mode.

    Step #7

    Select the “Online” option to force the SCAN mode on. (It will start searching for the ScanGear client on your computer)

    Step #8

    Place the document you are wanting to scan into the feeder tray on top of the Canon Copier. (It will not start scanning until feeder tray has paper in it)

    Step #9

    On your computer, select Scan (black and white or color) and then the computer will begin scanning your documents.

    Microsoft Office Document Scanning Tool

    Microsoft Office Document Scanning Tool

    Combine or convert two .MKV files into one .MKV file

    Sunday, July 26th, 2009

    There is a great piece of freeware called MKVToolNix which lets you merge and convert MKV files. Do you have two or more .MKV files you want to merge? This is perfect for that. Do you have a .AVI file you want to convert to a .MKV file? This is also perfect for that. As the world of entertainment moves into HD and x264 this little application will be very handy. It works under all major windows operating systems, Windows XP x32, Windows Vista x32, Windows Vista x64, Windows 7 x32, and Windows 7 x64.

    MKVToolNix

    MKVToolNix

    Vista Powershell Script fix

    Wednesday, June 24th, 2009

    Step #1

    Go to Run and type regedit

    Step #2

    HKEY_Local_Machine\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.Powershell\ExecutionPolicy

    Step #3

    In that registry key, change value to Unrestricted.

    Buy Windows Vista.

    Formatting WinPE 3.0 USB Flash Drive – (DISM)

    Friday, June 19th, 2009

    In my previous article I wrote about how to create the WinPE 3.0 environment, add drivers, mount the .WIM file, add batch scripts, etc. Here are the steps for creating the bootable flash drive.

    Step #1

    Open up Command Prompt

    You can do the first step within a normal command prompt window or within the WAIK Deployment Tools Command Prompt Window.

    Step #2

    Diskpart

    This launches the DiskPart program which is included within Windows Vista x32, x64 and Windows 7 x32, x64.

    Step #3

    List Disk

    Before you do anything you will want to see which disk is which on your computer.

    Step #4

    select disk 1

    You will want to pick the corresponding disk in which you want to use for your bootable flash drive. Careful, because this will completely erase the disk you select.

    Step #5

    clean

    This cleans up your disk.

    Step #6

    create partition primary

    This creates the partition on your flash drive.

    Step #7

    select partition 1

    This selects the partition you just created in Step #6.

    Step #8

    active

    This marks the select partition as active.

    Step #9

    format fs=fat32 quick

    This will format your flash drive in FAT32 format. Make sure you use the quick command otherwise it will do a standard format and will take a while. For bootable flash drives the quick format will always be fine.

    Step #10

    assign

    This will assign the next available drive letter to your flash drive. (You can also specify which drive letter you would like it to be assigned)

    Step #11

    exit

    This exits DiskPart.

    Step #12

    exit

    This exits CMD.

    Step #13

    Then just copy the contents of the “c:\winpe_x86\ISO\” folder in which you have your WinPE 3.0 environment created in the previous article and you are ready to boot up on a flash drive to WinPE 3.0. Enjoy!

    Here are the commands all together:

    Diskpart
    list disk [See which drive is which]
    select disk 1 [corresponding to disk on your computer]
    clean
    create partition primary
    select partition 1
    active
    format fs=fat32 quick
    assign
    exit
    exit

    Fixing Corrupt Vista Profile – Logged in as Temp

    Monday, March 16th, 2009

    1. Restart your PC to release the locks on your profile.
    2. Log on with another administrative account
    3. Delete C:\Users\%username%
    4. Delete C:\Users\TEMP
    5. Delete the registry key matching your SID from
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList”. Check the value “ProfileImagePath” to make sure you pick your own profile.
    6. Restart once again and then you’re done!

    Microsoft Windows Vista SP1

    Microsoft Windows Vista SP1