Event ID 773 — Auto-Add Devices Database
Applies To: Windows Server 2008 R2
The Auto-Add Devices database enables you to add computer accounts to Active Directory Domain Services automatically. You will find this database in the \RemoteInstall\Mgmt folder (by default, the RemoteInstall folder is located on drive C). The database is created by the Pre-Boot Execution Environment (PXE) provider the first time you enable the Auto-Add functionality (using either the MMC snap-in or the /AutoAddPolicy command-line option). All computers in the pending queue are represented as an entry in the database on the Windows Deployment Services server.
|Product:||Windows Operating System|
|Message:||An error occurred while trying to query the Auto Add database using MAC Address %1.
Error Information: %2
Free up memory or recreate the database
If the server is low on memory or the Auto-Add Devices database is corrupt, a query to the Auto-Add device database will fail. To resolve this issue, first use Task Manager to ensure that the server is not low on memory. One way to increase the amount of available memory is to determine whether there are any programs or processes running on the server that can be closed. Use Task Manager to determine which processes are using the most memory, and to end those processes.
To perform these procedures, you must either be a member of the local Administrators group or have been delegated the appropriate authority.
Free up memory
To free up memory on the server:
- On the Windows Deployment Services server, right-click an empty area of the taskbar, and then click Task Manager.
- Click the Processes tab.
- Make sure that the User Name and Memory (Private Working Set) columns appear. If they do not appear, click Select Columns on the View menu, select the User Name and Memory (Private Working Set) check boxes, and then click OK.
- At the bottom of the tab, select the Show processes from all users check box.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- To sort the processes by memory usage, click the Memory (Private Working Set) column heading.
- Determine whether you can end any of the memory-intensive processes.
- To end a process, click the process name, and then click End Process.
- When prompted, click End Process again to confirm that you want to end the process.
If the server is not low on memory and you continue to encounter this error, the database may be corrupt. To resolve this issue, you will need to recreate the database by using the procedure in the following section.
Recreate the database
To recreate the database:
Delete the contents of the RemoteInstall\Mgmt folder. By default, the RemoteInstall folder is located on drive C.
Open the Command Prompt window.
At the command prompt, run net stop wdsserver.
At the command prompt, run net start wdsserver.
To perform this procedure, you must either be a member of the local Domain Admins group or have been delegated the appropriate authority.
To verify that the Auto-Add policy is active:
- Restart the WDSServer service. To do this, open the Command Prompt window, run net stop wdsserver, and then run net start wdsserver.
- Open Event Viewer. (Click Start, type Event Viewer in the Start Search box, and then press ENTER).
- In the left pane, expand Custom Views, expand Server Roles, and then click Windows Deployment Services.
- Click the Date and Time column heading to sort the events based on date and time.
- Look for BINLSVC event 769. The presence of this event indicates that the Auto-Add settings were applied correctly.