Thursday, June 19, 2014

Address Resolution Protocol (ARP) and it's Anatomy


Address Resolution Protocol (ARP) :
  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
  • To minimize ARP broadcast traffic on your network, a cache of hardware-to-software address mappings is maintained for future use. This cache contains the following two types of entries:

    • Dynamic ARP cache entries

      These entries are added and deleted automatically during normal use of TCP/IP sessions with remote computers. Dynamic entries age and expire from the cache if not reused within 2 minutes. If a dynamic entry is reused within 2 minutes, it may remain in the cache and age up to a maximum cache life of 10 minutes before being removed or requiring cache renewal by using the ARP broadcast process.
    • Static ARP cache entries

      These entries are added manually by using the arp command with the -s option. Static entries remain in the ARP cache until either the computer is restarted, or the interface is reinitiated. Examples of some of the events that cause an interface to be reinitiated are:
  1. The interface is Disabled, and then Enabled.
  2. The Repair feature is used.
  3. The commands ipconfig /release and ipconfig /renew are given.
  4. The computer awakes from a suspend or hibernation state.
  5. You removed and replugged a network cable or moved a computer out of and back into wireless range.
  6. ARP cache entries can be deleted manually by using the arp command with the -d option.

    Example: arp -d 192.168.0.1
    Removes ARP mappings for 192.168.0.1 on all interfaces.
    

How to Add a Static entry in address resolution protocol (ARP)


Adds a static entry:
Start-->run-->cmd-->
 arp -s 157.55.85.212   00-aa-00-62-c6-0

How to know all ip addresses and MAC(media access control) Addresses in a network

address resolution protocol (ARP)
Login in your DNS server:
Start-->run-->cmd-->arp -a

How To change Logon server via Command Line



How To change Logon server Name through Command Line:

echo %logonserver%
set  logonserver=\\server1

set logonserver

 open Command Prompt
*******************************************************
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\user>echo %logonserver%
\\ServerName1

C:\Users\user>set logonserver
LOGONSERVER=\\ServerName1

C:\Users\user>set logonserver=\\ServerName2

C:\Users\user>set logonserver
LOGONSERVER=\\ServerName2

C:\Users\user> echo %logonserver%
\\ServerName2

*************************************************************
You are invited to see below video:
How to manage user account in Active Directory

Create New Mailbox and AD User Account in Exchnage

Never lose your Files/Data

Never Lose Contacts -android phones


set command to show windows information



Set:
C:\Users\administrator.ULC>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\administrator.domain_name\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=TID-L-177
ComSpec=C:\Windows\system32\cmd.exe
DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\administrator.Domain_name
LOCALAPPDATA=C:\Users\administrator.Domain_Name\AppData\Local
LOGONSERVER=\\server_name
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files\Dell\DW WLAN Card;;C:\Windows\system32;C:\Windows;C:\Windo
ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Mi
crosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS
\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\ADMINI~1.ULC\AppData\Local\Temp
TMP=C:\Users\ADMINI~1.ULC\AppData\Local\Temp
USERDNSDOMAIN=example.COM
USERDOMAIN=example
USERNAME=Administrator
USERPROFILE=C:\Users\administrator.example
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
windir=C:\Windows


 set l:
C:\Users\administrator.Domain_name>set l
LOCALAPPDATA=C:\Users\administrator.Domain_name\AppData\Local
LOGONSERVER=\\Server_name



set a

C:\Users\administrator.Domain_name>set a
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\administrator.Domain_name\AppData\Roaming



set p
 C:\Users\administrator.Domain_Name>set p
Path=C:\Program Files\Dell\DW WLAN Card;;C:\Windows\system32;C:\Windows;C:\Windo
ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Mi
crosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS
\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public

Wednesday, June 4, 2014

How to Uninstall McAfee Frame package

Run bellow command from command line to uninstall McAfee Frame Package:

C:\Users\users1>cd ..

C:\Users>cd ..

C:\>"c:\programe files\Mcafee\common Framework\frminst.exe" /forceuninstall

Error 14: No enough space to run this operation while runnig DNS server service in windows server 2003


It is due to  a corrupted winsock.
Run bellow command from command prompt with administrative privilege:
netsh winsock reset
then reboot and check.

The system cannot log you on due to the following error: The RPC server is unavailable || Windows Server 2003


Try Bellow :
   1. Incorrect DNS settings.

     2. Incorrect Time and Time zone settings.

     3. The "TCP/IP NetBIOS Helper" service isn't running.

     4. The "Remote Registry" service isn't running

then restart.

If not work then.
1. Take backup of registry
2.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

create DWORD then put Hex value=1
IgnoreRegUserConfigErrors =Dword:1

Tuesday, June 3, 2014

Your Account is configured to prevent you from using this computer. Please Try another computer



Find the user in Active Directory Users and Computers, right click on the account, then click on the Account Tab of that User’s Properties, click the "Accounts" tab then clcik “Log On To” button, the change the option, “The Following Computers” to “All computers” or just add the Computer Name you want…
After that you should be able to login with the affected user.