http://tinyurl.com/4vy68zg
I will be providing updates on windows, Linux, solaris, vmware and xen. You can chat with me online. You can go through the cbts sections and download videos.
Saturday, March 5, 2011
Thursday, March 3, 2011
To map network drives from command line
Share a folder on file server or any server and open notepad and type
Net use x: \\server1\sales
Net use y: \\server1\HR
And save this file as .bat
the sales and HR folder should be created upfront and then be shared.
So how can you apply this to users.You just need to go to GPMC create a GPO and edit the user settings -- windows settings--scripts and add the batch file create into this scripts. Point to remember : the .bat file should be saved in LOGON folder on SYSVOL folder.when a user logs on to the computer he or she will receive the respective drives shared and they can save data. the main advantage is that they will never loss there data as the info is saved centrally on another server and they can access this from any client machine they log into.
Wednesday, March 2, 2011
To view IP settings in a text file
Normally we all check the IP configurations by going to CMD and IPCONFIG /ALL.
Now to save this into a text file.
c:\>ipconfig \all > c:\config.txt
c:\>ipconfig \all > d:\config.txt
Now to save this into a text file.
c:\>ipconfig \all > c:\config.txt
c:\>ipconfig \all > d:\config.txt
Tuesday, March 1, 2011
Active Directory backup
Backup AD:
Registry
COM+ class registration database
System boot files
Files protected by windows file protection
Certificate services database
IIS metabase
AD components and SYSVOL folder (on a DC)How to get a computers IP address?
1. Go to to CMD:
ipconfig /all
2.
3.
ipconfig /all
2.
Ping to the client machine
Ex: ping client22
Now the ip address and MAC address are cached.
To view the cache
Arp –a
3.
We can also use:
Cmd
Getmac /s client22
DHCP Super scope
Combination of 2 scopes. Ex: 192.168.1.1 and 192.168.2.1
We combine these 2 to lease out the ipaddress no matter the network ID
One client can get 192.168.1.1 and another client can get 192.168.2.1
So now when client A wants to talk to client B. they can’t communicate as the network ID’s differ. Now we need to install RRAS on DHCP server.
In a scenario like this we need to have the default gateway as ipaddress of DHCP server.
Fault tolerance in DHCP
Coming to fault tolerance, we can’t have 2 dhcp servers with same scopes. We can only have 2 scopes with ipaddress divided.
If DHCP server 1 as 192.168.1.130 , we can have DHCP server 2 with scope as 192.168.131.254.
Domain controller for domain XYZ.com cannot be connected error message
When we are trying to add a client or server machine to a domain i.e. making a member of domain and when you receive an error message as “domain controller for domain google.com cannot be connected” make sure the preferred DNS ipaddress in the TCP\IP properties is correct, pointing to DNS server. As the DNS server has the srv records to connect to domain controller.
Subscribe to:
Posts (Atom)