Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Install-Win8.1-in-Pendrive-UEFI

Do the following steps from a Windows System
   
On-ComandPrompt    
   

    C:\> diskpart

In the elevated command prompt, type the commands below one at a time and press Enter after each one.

    DISKPART> list disk

Make note of the Disk # (ex: Disk 4) for the USB flash drive. (see screenshot below step 5) NOTE: Substitute # in the first command with the actual disk # from step 4 above. For example: select disk 4

    DISKPART> select disk #
    DISKPART> detail disk (this is to verify that you selected the correct disk before using "clean" )
    DISKPART> clean
    DISKPART> create partition primary
    DISKPART> format fs=fat32 quick
    DISKPART> active
    DISKPART> assign
    DISKPART> list volume
    DISKPART> exit


Make note of the volume letter (ex: K) for the USB flash drive in the command prompt.

If Using a Windows 7 or Windows 8/8.1 Installation DVD

A) Insert the Windows 7 or Windows 8 installation DVD into the CD/DVD drive.
B) In the Computer window, open the DVD. (see screenshot below)
C) Select all files in it, right click or press and hold on the selected files, click/tap on Send to and the Removable Disk for your USB flash drive letter (ex: K) from step 6 above. (see screenshot below)
D) This could take a bit to copy the DVD contents to the USB.


Now Boot the USB in UEFI mode

Windows-7-Can't-Complete-Installtion

Resolve-Windows-7-Can't-Complete-Installtion-Error
-----------------------------------------------------------------------


During the windows 7 installation  after the first restart , may get an like "Windows could not complete the installation.To install Windows on this computer,restart the installation".

Because of this error new user creation window will not appear ,so need to do this manually in-oder to complete the installation  Do the following steps to resolve this issue

When prompted with error unable to complete installation:
Hit SHIFT-F10 to bring up command prompt.

type MMC
Click File -> Add/Remove Snap-in... (Or CTRL+M)
Select Computer Management (Double click and Finish on Local Computer)
Click OK
Double click Computer Management (Local) -> System Tools -> Local Users and Groups -> Users -> Double Click Administrator -> Uncheck Account is disabled -> OK
Now right click Administrator -> Set Password...  ->  Set a decent password to get started.

Now, restart. 

If this doesn't work try next step:

SHIFT-F10 to bring up command prompt.
type:  CD C:\windows\system32\oobe
type msoobe
enter
Make a generic account and password.  hit finish
Set time/date.  Finish.
Restart.

 

Should be good to go.

Win Tips used in CMD


attrib +h +s +r "Folder Path" /S /D ===== For Hide Everything inside the path

attrib -h -s -r "Folder Path" /S /D  ===== For UnHide Everything inside the path
dir /p                                            ===== Page wise Listing
dir /ah                                          ===== Only Hidden File Listing

dir /ahD                                        ===== Only Hidden Folder Listing

type                                              ===== To read a text file

getmac                                         ===== Get the MAC address

To find a file in System(Eg; To Find Location of Boot.ini file)
------------------------------------------------------------------------------ 
dir c:\ /s /a /b | find "boot.ini"     

To copy files which has long names
------------------------------------------------
XCOPY "Source file/Dir" "Destination Path" /s /n

Windows Control Panel Applets

access.cpl ---- Accessibility Options
appwiz.cpl ---- Add or Remove Programs
desk.cpl ---- Display Properties
hdwwiz.cpl ---- Add Hardware Wizard
inetcpl.cpl ---- Internet Properties
intl.cpl ---- Regional and Language Options
joy.cpl ---- Game Controllers
main.cpl ---- Mouse Properties
mmsys.cpl ---- Sounds and Audio Devices Properties
ncpa.cpl ---- Network Connections
nusrmgr.cpl ---- User Accounts
nwc.cpl ---- Gateway Services for NetWare Properties
odbccp.cpl ---- ODBC Data Source Administrator
powercfg.cpl ---- Power Options Properties
s32lucp1.cpl ---- Norton Live Update Properties (if using Norton Antivirus)
sysdm.cpl ---- System Properties
telephon.cpl ---- Phone and Modem Options
timedate.cpl ---- Date and Time Properties
sapi.cpl ---- Speech Properties
irprops.cpl ---- Infrared Properties
mlcfg32.cpl ---- Mail Setup (only with Office)

MMC Shortcuts – Management Tools


adsiedit.msc ------ ADSI Edit
sidewalk.msc ------ SID Security Manager
certmgr.msc ------ Certificates
ciadv.msc ------ Indexing Service
compmgmt.msc ------ Computer Management
devmgmt.msc ------ Device Manager
dfrg.msc ------ Disk Defragmenter
diskmgmt.msc ------ Disk Management
eventvwr.msc ------ Event Viewer
fsmgmt.msc ------ Shared Folders
gpedit.msc ------ Group Policy
lusrmgr.msc ------ Local Users and Groups
ntmsmgr.msc ------ Removable Storage
ntmsoprq.msc ------ Removable Storage Operator Requests
perfmon.msc ------ Performance
rsop.msc ------ Resultant Set of Policy
secpol.msc ------ Local Security Settings
services.msc ------ Services
wmimgmt.msc ------ Windows Management Infrastructure (WMI)
comexp.msc ------ Component Services

Restore Desktop Icon


If you Windows Desktop icon is disappeared , there is a quick way to restore it.

Follow the steps bellow:
• Open Notepad

• Paste the text bellow

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

• Save the file as Desktop.scf and drag it to your Quick Launch bar

Note: If you can’t place it you Quick Launch bar may be locked.

To unlock it :Right click on it , and remove selection from “Lock The Task Bar”

Bootable Windows 7 USB



While out there are many utilities or tools for one to create a bootable USB drive for Windows 7 installation, the DiskPart program comes with Windows XP or above can also be used to get this job done without extra cost.

How to create bootable USB drive of Windows 7 installer via diskpart command.

























You should able to follow these steps, to create a bootable Windows 7 USB flash drive, in Windows XP or higher. In brief, the key point is using diskpart to set a partition to active (bootable) and then copy the Windows 7 DVD content into this active partition.

1) Connect a USB flash drive (min. 4GB for Windows 7 Ultimate 64-bit).

2) Open Command Prompt window and execute diskpart. In Windows Vista / Windows 7, you need to run Command Prompt with elevated privilege.

3) At DiskPart prompt, type list disk to display a list of mounted disk drive detected by Windows. In the list, you should be able to recognize the USB flash drive connected to Windows, by looking at the Size column. (In my screenshot, this is disk 2).

4) So, execute select disk 2 and then run list partition to display the partition table of the selected disk 2 (i.e. the connected USB flash drive).

Having said that, it’s possible to create multiple partitions on a big USB flash drive (16/32GB or bigger), and uses one of the partition that is fit for the Windows 7 installation files. As mentioned earlier, 4GB is recommending for Windows 7 Ultimate 64-bit.

5) Execute select partition 1, suppose I would like to choose this partition to work on. Indeed, that is the only partition on the USB flash drive.

6) Now, execute active to set the selected partition as active partition (i.e. bootable partition). By then, the list partition report will display an asterisk mark in front of the “active” partition record.

7) Exit from DiskPart program and proceed to use robocopy to duplicate Windows 7 DVD contents to the “active” partition of USB flash drive. For example:

robocopy D:\ E:\ /MIR /V /FP /LOG:C:\Win7.log /TEE

Where D: is the DVD drive containing the Windows 7 DVD; E: is the active partition of USB flash drive; /MIR is to mirror whatever inside the source to the destination; the rest of option switches used are for logging purpose.

Once the robocopy completes successfully, there you will have a bootable USB flash drive for Windows 7 installation :-)