Change the time zone in Windows 7

By default, the time zone in Windows 7 is set to  -8:00 Pacific Time (US & Canada). There are multiple ways to change the time zone. This post shows you two ways to change the time zone in Windows 7.

Solution 1:

  1. Right click on the clock, at the right bottom of your screen, and click on Adjust Date/Time.
  2. Click on the Change time zone button
  3. Select the correct time zone and click OK. If you are in a region with DST, make sure you have checked the “Automatically adjust clock for Daylight Saving Time” checkbox.

Solution 2:

  1. Click the Windows Orb and type “cmd” in de Search box. Press Enter.
  2. Type TZUTIL /L and press Enter. TZUTIL is a tool in Windows 7 which lets you set the time zone from the command line.
  3. From the output of the command TZUTIL /L (which is quite a long list 🙂 ), record the time zone you want to change to.
  4. Type TZUTIL /S “time zone . So, in case you want to change the time zone to (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna, you should type:  TZUTIL /S “W. Europe Standard Time”.

For more information about TZUTIL, just type TZUTIL and press Enter.

Removing Hidden and Non-Present Devices in Device Manager

  1. Click Start. Click Run. Type cmd and press OK.
  2. Type “set DEVMGR_SHOW_DETAILS=1” (without quotation marks) and press Enter.
  3. Type “set DEVMGR_SHOW_NONPRESENT_DEVICES=1” (without quotation marks) and Press Enter.
  4. Type “start devmgmt.msc” (without quotation marks) and click press Enter.
  5. Click View. Click Show hidden devices.
  6. Click “+” to expand Imaging devices, Unknown devices and USB devices.
  7. If there any unknown devices (including grayed out devices), right click it and click Uninstall.
  8. Reboot the computer

Continue reading Removing Hidden and Non-Present Devices in Device Manager

Alternate Credentials

Launching Tools Using Alternate Credentials from a Command Prompt Window

One of the easiest ways to launch tools using alternate credentials is to first launch a Command Prompt with the credentials you want to use. Once the Command Prompt is launched using the alternate credentials, all subsequent commands and tools run from that Command Prompt start using the elevated credentials you provided. Continue reading Alternate Credentials

The IP address you have entered for this network adapter is already assigned to another adapter

This problem is genrally caused by moving the NIC to a different PCI slot, or you have removed the NIC from the VM machine.
To fix the problem:
1. Open a CMD prompt.
2. Type: set devmgr_show_nonpresent_devices=1
3. Type: Start DEVMGMT.MSC
4. Press View and Show Hidden Devices.
5. Expand the Network Adapters tree.
6. Right-click the ghosted NIC and press Uninstall.

Installing Windows xx from a bootable USB

Start a command line utility called diskpart. This can be done directly from start/run or from a command prompt. Comments are between {}.

diskpart {This will start diskpart from a command prompt}
list disk {This will list all available disks in the system}
select disk 1 {This will select your usb disk, if it is called 1 in your system}
clean {This will erase ALL information on the currently selected disk}
create partition primary
select partition 1
format fs=fat32

When you are finished with diskpart, all you need to do is copy all files from your Windows Vista / Windows Server 2008 installation media to the usb disk.

xcopy d:*.* /s/e/f e:

How To Change Windows 7 Logon Screen Easily [Without Using Hacks & Tools]

Follow the procedure below to change the Windows 7 logon screen.

1. Copy this Registry code and save it in a new text document, then change the txt file ro a *.reg file. Double-click on the file to enable this feature (Alternative method: right-click, select Merge).
Windows Registry Editor Version 5.00


2. Now, head over to the following folder:

C:WindowsSystem32oobe (“C” is your Windows Seven Installation drive)

3. Here, create a new folder named Info. Again, create a new folder inside the Info folder and rename it as backgrounds.

4. Copy your favorite image file to this folder and rename it as backgroundDefault. Note that the image must be in JPG format and the size should be less than 256 KB.

5. You are done. Reboot your system and see the change.

The following files (sorted by width-to-height ratio) are supported in C:WindowsSystem32oobeInfoBackgrounds folder:

* backgroundDefault.jpg
* background768×1280.jpg (0.6)
* background900×1440.jpg (0.625)
* background960×1280.jpg (0.75)
* background1024×1280.jpg (0.8)
* background1280×1024.jpg (1.25)
* background1024×768.jpg (1.33-)
* background1280×960.jpg (1.33-)
* background1600×1200.jpg (1.33-)
* background1440×900.jpg (1.6)
* background1920×1200.jpg (1.6)
* background1280×768.jpg (1.66-)
* background1360×768.jpg (1.770833-)

Super unattend cmd script

This is my super unattend file,

@echo off

@echo **********************************
@echo **********************************
@echo * *
@echo * *
@echo * *
@echo * *
@echo * Powered Bye: *
@echo * Pouyan Khabazi *
@echo * *
@echo * *
@echo **********************************
@echo **********************************

@echo Installing AutoItV3
@echo Please Wait…
@echo off
start /wait stingrayshareautoitv3.exe /S

@echo Installing Adobe Reader 9
@echo Please Wait…
@echo off
stingrayshareAdbeRdr90_en_US.exe /update-no /sAll /rs /l /msi"/qb-! /norestart ALLUSERS=1 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"

@echo Installing Internet Explorer 8
@echo Please Wait…
@echo off
start /wait stingrayshareIE8.exe /quiet /passive /update-no

@echo Installing Java Update
@echo Please Wait…
@echo off
stingraysharejre_6u10.exe /s /v "/qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 INSTALLDIR=C:javajre-6U10"

@echo Installing Adobe Flash Player 9
@echo Please Wait…
@echo off
start /wait stingrayshareflash_player.exe /S

@echo Installing File Format Converter
@echo Please Wait…
@echo off
start /wait stingrayshareFileFormatConverters.exe /quiet /passive

@echo Installing GIMP
@echo Please Wait…
@echo off
start /wait stingraysharegimp.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

@echo Installing PDF Printer
@echo Please Wait…
@echo off
start /wait stingrayshareBullzipPDFPrinter.exe /sp- /silent /norestart /noicons

@echo Installing Image Resizer
@echo Please Wait…
@echo off
start /wait stingrayshareImageResizerPowertoySetup.exe /S /v /qn

@echo Installing HTML Slide Show Viewer
@echo Please Wait…
@echo off
start /wait stingrayshareHTMLSlideShowSetup.exe /Q

@echo Installing winlame
@echo Please Wait…
@echo off
start /wait stingraysharewinlame.msi /quiet /passive

@echo Installing Photo Story 3
@echo Please Wait…
@echo off
start /wait stingraysharePStory.msi /quiet /passive

@echo Installing KB932823 Update
@echo Please Wait…
@echo off
start stingrayshareKB932823.au3 /quiet /passive

@echo ping -n 90 localhost

@echo Installing Codecs
@echo Please Wait…
@echo off
start stingraysharexpcodecpack.au3

@echo ping -n 30 localhost

@echo The Computer will now shutdown

@echo Press any key to continue…


shutdown -r