Monday, November 21, 2011

Get MAC Address Remotely by Computer Name or IP Address


Obtain the MAC address of a network card by IP address or Computer Name by using the GETMAC command.
To use this command, do the following:
1. Open a command prompt with administrator privileges.
2. You can use one of the following commands


Help:
GETMAC /?
GETMAC /S system /U user
GETMAC /S system /U domain\user /P  password


GETMAC /s computername - Get MAC by Computer Name
GETMAC /s 192.168.1.1 – Get MAC by IP Address


Monday, November 14, 2011

Description of the 64-bit operating systems that are supported together with Microsoft Dynamics GP


To run Microsoft Dynamics GP 10.0 or Microsoft Dynamics GP 9.0 on a 64-bit computer or on a 64-bit server, you must satisfy the following prerequisites:

Note Microsoft Dynamics GP only work with a 32-bit ODBC. When Microsoft Dynamics GP is installed on a 64-bit computer, the ODBC is automatically defaulted for 64-bit and the server list will be empty. In this case, a new 32-bit ODBC have to be created.
  • You must use a 32-bit Open Database Connectivity (ODBC) Data Source Name (DSN) when you try to log in to Microsoft Dynamics GP. If you use a 64-bit ODBC DSN, the server list will be empty.

    Note To configure a 32-bit ODBC DSN, follow these steps:
    1. Right-click Start, and then click Explore.
    2. Locate the following folder:
      C:\Windows\SysWOW64
    3. Right-click the Odbcad32.exe file, and then click Create Shortcut.
    4. Right-click the shortcut file, and then click Rename.
    5. To rename the shortcut file, type Data Sources (ODBC) 32-bit.
    6. Right-click the shortcut file, and then click Copy.
    7. Expand My Computer, expand Control Panel, and then click Administrative Tools.
    8. Paste the shortcut file in the Administrative Tools folder.
    9. Close Windows Explorer.
    10. Click Start, click Control Panel, double-click Administrative Tools, and then double-click Data Sources (ODBC) 32-bit.
    11. In the ODBC Data Source Administrator dialog box, create an ODBC data source.

      Note Rename the ODBC data source by using a name that clearly identifies this ODBC data source as the 32-bit version. For example, use the name "Dynamics32bit."
    12. Start Microsoft Dynamics GP.
    13. Select the ODBC data source that you created in step 11.
    14. Double-click the new shortcut to open it.
    15. Reference Microsoft Knowledge Base article 870416 to create an ODBC connection for Microsoft Dynamics GP. For more information about this article, click the following article number to view the article in the Microsoft Knowledge Base:
      870416  How to set up an ODBC Data Source on SQL Server for Microsoft Dynamics GP
    Note To clearly identify the names of the shortcut files of the ODBC data sources, rename the shortcut file of the 64-bit version as "Data Sources (ODBC) 64-bit."
  • During installation, remove any information that is in parentheses from the default installation path. For example, the 64-bit ODBC DSN uses the following default path:
    C:\Program Files (x86)\Microsoft Dynamics\GP\
    In this case, you must change the installation path of the following path:
    C:\Program Files\Microsoft Dynamics\GP\
    Note The Field Service notification is incompatible with any x64-based server.
-----------------------------------------------------------------------------
To run Web Services on an x64-based operating system, you must use the following workarounds.

Web Services Runtime workaround

Windows Server 2003 x64 and Microsoft Dynamics GP 10.0 only

  1. In Windows Explorer, locate the system drive, and then open the following folder:
    %SystemRoot%\Windows\Microsoft.NET\AuthMon\1.2 folder
  2. Drag the Microsoft.Interop.Security.AzRoles.dll file into the %SystemRoot%\Windows\assembly folder.
  3. In Windows Explorer, verify that you can see the Microsoft.Interop.Security.AzRoles.dll file in the %SystemRoot%\Windows\assembly folder.
  4. Install the x64 Dexterity Common Components on the IIS server. To download the x64 Dexterity Common Components, visit the following Microsoft Web site:
  5. Install Microsoft Dynamics GP 10.0 Service Pack 3 or a later version. To do this, visit the following Microsoft Web site:
  6. Download Web Services Service Pack 3 or a later version. To do this, visit the following Microsoft Web site:
  7. Browse the Web Services installation folder, and then double-click the DynamicsGPWebServices.msi file.
  8. After Web Services is installed successfully, see the "Web Services Management Tools workaround" section.

Windows Server 2008 x64 or x86 and Microsoft Dynamics GP 10.0 only

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  How to back up and restore the registry in Windows
  1. Refer to page 24 in the WebServicesInstallation.pdf file for the Windows Server 2008 roles and role services that must be enabled. To download the WebServicesInstallation.pdf, visit the following Microsoft Web site:
  2. Click Start, click Run, and then type REGEDIT.
  3. Locate the following registry subkey, and then follow these steps:
    HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion
    1. Right-click the registry subkey, point to New, click Key, and then name the new key ADAM_Shared.
    2. Open the ADAM_Shared folder.
    3. Right-click the ADAM_Shared folder, point to New, and then click String Value.
    4. Name the new string value InstalledVersion, and then type 1.1.3790.2075 as the value data.
  4. Install the x64 Dexterity Common Components on the IIS server. To download the x64 Dexterity Common Components, visit the following Microsoft Web site:
  5. Install Microsoft Dynamics GP 10.0 Service Pack 3 or a later version. To do this, visit the following Microsoft Web site:
  6. Download Web Services Service Pack 3 or a later version. To do this, visit the following Microsoft Web site:
  7. Browse the Web Services installation folder, and then double-click the DynamicsGPWebServices.msi file.
  8. After Web Services is installed successfully, see the "Web Services Management Tools workaround" section.
---------------------------------------------------------------------------

Web Services Management Tools workaround

This workaround is necessary for Microsoft Management Console (MMC) to work for Web Services:
  1. The Microsoft Visual C++ 2005 SP1 redistributable package (x86) must be installed on the x64-based computer for the Management Tools to work correctly. To download and install the redistributable package, visit the following Microsoft Web site:
  2. The Web Services Management Tool installation must be started from the "Web Services" folder on CD2 or the Feature Pack DVD. Locate the Microsoft Dynamics GP 10.0 CD2 or the Feature Pack DVD, and then open the AdProd\WebServices folder. Double-click the DynamicsGPWebServicesManagementTools.msi file.

Friday, November 11, 2011

How to compact Active Directory in Windows 2008?


Active Directory Maintenance
1.    1.  Use ntdsutil command










2.     2.Stop Active Directory Domain Services.







3.     3. Type Help to know sub commands
4.   Type compact to c:\ 












4
4.  5.     Quit à quit
6.     Copy the ntds.dit and overwrite the old one. Delete the log file.








7.      Check the integrity

7.     










8.     8.Type semantic  checker after the colon :. Then type verbose on . Then type go fixup












9. .Quit àquit

10. Restart Active Directory Domain Services