Saturday 3 November 2012

Windows Tips and Tricks

 -----------------------------------------------
Windows Tips
-----------------------------------------------
dxdiag          >>> directx diagnose
regedit         >>>  registry editor
msconfig       >>> windows startup configurator
gpedit.msc    >>> group policy editor
ncpa.cpl        >>> network connections settings
conf.exe        >>> to configure netmeeting
appwiz.cpl     >>> to run add remove software

services.msc  >>> to check services
appwiz.cpl     >>> to add/remove a program

netstat          >>> to view network interface statistics
nbtstat          >>> to view netbios statistic
ipconfig         >>> to configure network interfaces


shutdown -s    >>> to shut down system
shutdown -r    >>> to restart system
shutdown -a    >>> to abort the shut down
shutdown -l     >>> to log off the system


net start|stop service  >>> to start or stop a service
net stop server          >>> to stop the "server" service
net start server          >>> to start the "server" service
net pause server        >>> to pause the "server" service
net resume server      >>> to resume the "server" service


net user administrator /active:yes   >>> to activate default system administrator account

mstsc /console /v:10.3.3.11            >>> to login remotely

windows+d             >>> to minimize a window
alt+shift+numlock    >>> to enable mouse operation from numeric keypad
 

convert c:/fs:ntfs       >>> to convert fat32 filesystem to ntfs

-----------------------------------------------
GROUP POLICY (DOMAIN - LOCAL)
-----------------------------------------------
gpedit.msc          >>> to edit the local group policy

gpupdate /force   >>> to update changes made by gpedit.msc (/force to apply changes immediately)
                                  default: 5 minutes to apply changes on server and 120 minutes to apply changes on   

                                  workstation
 

secpol.msc          >>> to edit local security policy

to block games or any app in group policy
user configuration --> administrative templates --> system --> don't run specified windows application

to set desktop theme and wallpaper settings
user configuration --> administrative templates --> control panel --> desktop --> all setting here for wallpaper or other desktop

to hide specified drives
user configuration --> administrative templates --> windows components --> windows explorer --> hide these specified drives in My computer


---------------------------------
commands about DNS and DHCP
---------------------------------
ipconfig /all        -    to display all info about network

getmac            -    to get mac address of local machine

ipconfig /release    -    to release ip address of DHCP

ipconfig /renew        -    to renew ip address with DHCP

nslookup        -    to query dns name

dnsdisplay        -    to display dns info

flushdns        -    to flush the dns cache


---------------------------------
commands about WINS (NETBIOS)
---------------------------------
nbtstat            -    netbios stats

nbtstat -c -n -r    -    c for "cache", n for "names", r for "resolved"


---------------------------------
commands about FAT to NTFS conversion
---------------------------------
CONVERT volume /FS:NTFS [/V] [/CvtArea:filename] [/NoSecurity] [/X]

  volume      Specifies the drive letter (followed by a colon),
              mount point, or volume name.
  /FS:NTFS    Specifies that the volume is to be converted to NTFS.
  /V          Specifies that Convert should be run in verbose mode.
  /CvtArea:filename
              Specifies a contiguous file in the root directory to be
              the place holder for NTFS system files.
  /NoSecurity Specifies the converted files and directories security
              settings to be accessible by everyone.
  /X          Forces the volume to dismount first if necessary.
              All opened handles to the volume would then be invalid.

convert c:/fs:ntfs


---------------------------------
how to setup Network Printer
---------------------------------
To set a Windows XP/Vista computer to print directly to a printer, follow the steps below:

Click Start, then Printers and Faxes (Windows XP) or Windows icon, Control Panel, Hardware and Sound, then Printer (Windows Vista).

Double-click Add a Printer to start the "Add Printer Wizard," then click Next.

You will be given an option between Local Printer and Network Printer. Select Local Printer.

Make sure the Automatically detect and install my plug and play printer is not selected (Windows XP),

then click Next. Select Create a new port in the Type field, then select Standard TCP/IP Port. Click Next (twice in Windows XP).

In the Printer Name or IP Address field, enter the Domain (host) name of the printer (e.g., printToMe.dartmouth.edu)

which you received from the Hostmaster in response to your request for a fixed IP address. Click Next, then Finish.

If you are placed back in the Select the Printer Port window, make sure that Use the following port is selected.

From the list, select the Standard TCP/IP Port you just created. It should appear at the bottom of the list. Click Next.

Select the manufacturer and printer model, or select Have Disk if you are going to install the drivers from a CD or have installed them from the Web. Click Next.

In the Name field, enter the name that will identify your printer on your computer. Specify whether you want this printer to be the default printer. Click Next.

Select Do not share printer, then click Next twice. Click Finish.

No comments:

Post a Comment