" />

Ankit Moradiya

Ankit moradiya

Windows Tricks

view:  full / summary

DNS Backup And Restore

Posted by Ankit on April 15, 2011 at 2:43 AM Comments comments (0)

DNS Backup And Restore.



Thisappendix provides guidance for the stand-alone migration of the Domain NameSystem (DNS) Server role from an x86-based or x64-based server runningWindows Server 2003, Windows Server 2008, or WindowsServer 2008 R2 to a new Windows Server 2008 R2 server



Please following Below Step for DNS Backup And Restore.


 

                                     DNS Backup


Stopthe DNS Server service on the source server by running the following command:


                               net stop "DNS Server"


Run the reg command to export the following registrykeys:


 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters

 

reg exportHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS\Parameters%Windir%\System32\DNS\Dns-Service.REG



HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT

\CurrentVersion\DNS Server



reg export"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNSServer" %Windir%\System32\DNS\Dns-Software.REG



Onthe source server, copy all the files and subfolders under%windir%\System32\DNS (except the Samples folder) to a network location or aUniversal Serial Bus (USB)



Afterfollowing this command And Start DNS Services.


 

                               net start"DNS Server"


 

Your DNS Backup is Complete.


                                      DNS Restore


 

Stopthe DNS Server service on the source server by running the

following command:



                       net stop "DNS Server"



After You will get DNS folder on following Original Destination.



                    %windir%\System32\DNS



Now Right Click on Dns-Service.REGand Dns-Software.REG      AndMerge it.



Afterfollowing this command And Start DNS Services.

                      net start "DNS Sever"


 Enjoy ! Your DNS Restore Successfully.

 

 

 

 

 

 

 

 

 

 

Windows Dignostics

Posted by Ankit on July 14, 2010 at 1:53 AM Comments comments (0)

Please Following this command on Run And View All Information for your computer....


                                       DXDIAG

Server Testing Command

Posted by Ankit on July 8, 2010 at 5:29 AM Comments comments (0)

 (1)This Command Use For Windows Server Testing

dcdiag /test:dcpromo /dnsdomain:FQDN /NewTree /ForestRoot:Forest_Root_Domain_DNS_Name/v


(2)This Command Use In Child Domain Testing


dcdiag /test:dcpromo /dnsdomain:FQDN /ChildDomain /v


(3)This Command Use In Replica Testing


 

dcdiag /test:dcpromo /dnsdomain:FQDN /ReplicaDC /v  

 


Server's System State Backup Command

Posted by Ankit on June 1, 2010 at 7:44 AM Comments comments (1)

      Server's System State Backup Command

           "wbadmin start systemstate backup -backup targate C:\****

Active Desktop Recovery Error

Posted by Ankit on June 1, 2010 at 7:41 AM Comments comments (1)

Active Desktop Recovery Error

Regedit

HKEY_LOCAL_USER

SOFTWARE

MICROSOFT

INTERNET EXPLORER

DeskTop

Safemode

Component

Change Value "DeskHtmlVersion" Reg_Dword 0x00000110(272) To Desimal 0

Disable Task Manager

Posted by Ankit on June 1, 2010 at 7:40 AM Comments comments (0)

Disable Task Manager

Regedit

Current USER

Software

Microsoft

Windows

Policies

System

New Value Give (DisableTaskmgr) Value = 1

Disable Registry Edit

Posted by Ankit on June 1, 2010 at 7:39 AM Comments comments (0)

Disable Registry Edit

GPEDIT.MSC

USER CONGIGURATION

ADMINISTRATIVE

TEMPLETES

SYSTEM

REGISTRY

DISABLE

Enable or Disable Any User With Command Promt

Posted by Ankit on June 1, 2010 at 7:37 AM Comments comments (0)

Enable or Disable Any User With Command Promt

Command Is

"net user administrator Active:yes or No"

Yes to Enable And No To Disable

Finding IP address of sender in Yahoo, Gmail

Posted by Ankit on June 1, 2010 at 7:31 AM Comments comments (1)

Finding IP address of sender in Yahoo, Gmail

Finding IP Address Of the Sender In Hotmail!!

# Log into your Hotmail account with your username and password.

# Click on the Mail tab on the top.

# Open the mail.

# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner

* In the Mail Options page, click on Mail Display Settings

* In Message Headers, make sure Advanced option is checked.

* Click on Ok button

* Go back to the mails and open that mail.

# If you find a header with X-Originating-IP: followed by an IP address, that is the sender's IP address

* Hotmail headers : Daniel ,In this case the IP address of the sender is [68.34.60.59]. This is be the IP address of the sender.

# If you find a header with Received: from followed by a Gmail proxy like this

* Hotmail headers : Daniel

* Look for Received: from followed by IP address within square brackets[]. In this case, the IP address of the sender is [69.140.7.58].

# Or else if you have headers like this

* Hotmail headers : Daniel

* Look for Received: from followed by IP address within square brackets[].

In this case, the IP address of the sender is [61.83.145.129] .

# If you have multiple Received: from headers, eliminate the ones that have proxy.anyknownserver.com.

Finding IP Address of the sender in Yahoo Mail!!

# Log into your Yahoo! mail with your username and password.

# Click on Inbox or whichever folder you have stored your mail.

# Open the mail.

# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner

* In the Mail Options page, click on General Preferences

* Scroll down to Messages where you have the Headers option

* Make sure that Show all headers on incoming messages is selected

* Click on the Save button

* Go back to the mails and open that mail.

# You should see similar headers like this:

* Yahoo! headers : Daniel.

# Look for Received: from followed by the IP address between square brackets [ ]. Here, it is 202.65.138.109.

# That is be the IP address of the sender!

Finding IP Address of the sender in Gmail !!

When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender.

* Log into your Gmail account with your username and password.

* Open the mail.

* To display the headers,

o Click on More options corresponding to that thread. You should get a bunch of links. Click on Show original

* You should get headers like this:

o Gmail headers : Daniel

* Look for Received: from followed by a few hostnames and an IP address between square brackets. In this case, it is 65.119.112.245.

* That is be the IP address of the sender!!

Remote Desktop is a cool feature of Windows Server 2003 that lets you remotely log on to

Posted by Ankit on June 1, 2010 at 7:17 AM Comments comments (1)

Remote Desktop is a cool feature of Windows Server 2003 that lets you remotely log on to

and work at a machine as if you were seated at the local console (in Windows 2000 Advanced Server, this feature was called Terminal Services in Remote Administration Mode). Remote Desktop can be a lifesaver for fixing problems on servers at remote sites, but what if you forgot to enable the feature before you shipped the server out to Kalamazoo? Enabling Remote Desktop is easy if the server is in front of you: just log on as an administrator, open System in Control Panel, select the Remote tab, and under Remote Desktop select the checkbox labeled "Allow users to connect remotely to this computer." Unfortunately, you can't use the System utility to enable Remote Desktop on a remote machine, though you can access some properties pages of System using Computer Management by first connecting the console to a remote computer, then right-clicking on the root node and selecting Properties. Unfortunately, as you can see in Figure 1 below, the Remote tab is not available when you access System properties this way on a remote machine (here named SRV220).

Figure 1

Figure 1. System properties for a remote machine does not have Remote tab.

Fortunately, there's a workaround. Sit down at your desk and log on to your Windows XP workstation using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2).

Figure 2

Figure 2. Connecting to the Registry on a remote machine.

This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3).

Figure 3

Figure 3. Connecting to the Registry on a remote server named SRV220.

Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4).

Figure 4

Figure 4. HKLM and HKU hives on SRV220.

Now browse HKLM on SRV to find the following Registry key (Figure 5).

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Figure 5

Figure 5. Registry key for Terminal Server on remote machine.

Under the Terminal Server key, you'll find a REG_DWORD value named fDenyTSConnection. Double-click on that value to open the Edit DWORD Value box and change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled), as in Figure 6 below.

Figure 6

Figure 6. Set fDenyTSConnections to 0 to enable Remote Desktop on SRV220.

The remote machine needs to be rebooted for the change to take effect, so open a command prompt and type the following command:

shutdown -m {{{#\iqrconsulting}}}-@@-{{{\\iqrconsulting}}} -r

After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.


Rss_feed