Guest Andrew Posted October 22, 2007 Posted October 22, 2007 Hello... I am trying to develop a backup solution for our DHCP servers using the netsh dhcp server export command. However, we need to run this command as our scheduler account (typical domain user, no elevated access). The account is receiving an 'access is denied' error when attempting to run the netsh command. Does anyone know how to grant a user permission on the netsh command to backup the database?
Guest Mathieu CHATEAU Posted October 22, 2007 Posted October 22, 2007 Re: DHCP Backup - Windows 2003 Hello, User must be member of the local administrator group "Access denied" error message when you use the "netsh dhcp server import" command to import a DHCP database from a Windows NT Server 4.0-based computer to a Windows Server 2003-based computer http://support.microsoft.com/kb/890480/en-us -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Andrew" <Andrew@discussions.microsoft.com> wrote in message news:E1B82A90-27F9-44DB-B3EC-60CE18379357@microsoft.com... > Hello... > > I am trying to develop a backup solution for our DHCP servers using the > netsh dhcp server export command. > > However, we need to run this command as our scheduler account (typical > domain user, no elevated access). The account is receiving an 'access is > denied' error when attempting to run the netsh command. > > Does anyone know how to grant a user permission on the netsh command to > backup the database?
Guest Andrew Posted October 23, 2007 Posted October 23, 2007 Re: DHCP Backup - Windows 2003 Mathieu, Thanks for the reply... We actually need to do this with just a basic user account. And most of our DHCP servers are on DCs so there is no local administrators group. Is there a way to regularly backup the DHCP database with just a basic user account? "Mathieu CHATEAU" wrote: > Hello, > > User must be member of the local administrator group > > "Access denied" error message when you use the "netsh dhcp server import" > command to import a DHCP database from a Windows NT Server 4.0-based > computer to a Windows Server 2003-based computer > http://support.microsoft.com/kb/890480/en-us > > > > -- > Cordialement, > Mathieu CHATEAU > English blog: http://lordoftheping.blogspot.com > French blog: http://www.lotp.fr > > > "Andrew" <Andrew@discussions.microsoft.com> wrote in message > news:E1B82A90-27F9-44DB-B3EC-60CE18379357@microsoft.com... > > Hello... > > > > I am trying to develop a backup solution for our DHCP servers using the > > netsh dhcp server export command. > > > > However, we need to run this command as our scheduler account (typical > > domain user, no elevated access). The account is receiving an 'access is > > denied' error when attempting to run the netsh command. > > > > Does anyone know how to grant a user permission on the netsh command to > > backup the database? > >
Guest Mathieu CHATEAU Posted October 24, 2007 Posted October 24, 2007 Re: DHCP Backup - Windows 2003 anyway, you will need at least elevated privilege. You may backup the content of systemroot\System32\Dhcp\Backup It contains a backup made by the dhcp service You can change how often the dhcp service backup the conf: KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters\BackupInterval And you would need to manually backup: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters Can you explain more why you need to use a basic user account ? is manual backup from the dhcp console acceptable ? -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Andrew" <Andrew@discussions.microsoft.com> wrote in message news:BF9C5150-298A-452E-BC0E-4C311680C2CA@microsoft.com... > Mathieu, > > Thanks for the reply... > > We actually need to do this with just a basic user account. And most of > our > DHCP servers are on DCs so there is no local administrators group. > > Is there a way to regularly backup the DHCP database with just a basic > user > account? > > "Mathieu CHATEAU" wrote: > >> Hello, >> >> User must be member of the local administrator group >> >> "Access denied" error message when you use the "netsh dhcp server import" >> command to import a DHCP database from a Windows NT Server 4.0-based >> computer to a Windows Server 2003-based computer >> http://support.microsoft.com/kb/890480/en-us >> >> >> >> -- >> Cordialement, >> Mathieu CHATEAU >> English blog: http://lordoftheping.blogspot.com >> French blog: http://www.lotp.fr >> >> >> "Andrew" <Andrew@discussions.microsoft.com> wrote in message >> news:E1B82A90-27F9-44DB-B3EC-60CE18379357@microsoft.com... >> > Hello... >> > >> > I am trying to develop a backup solution for our DHCP servers using the >> > netsh dhcp server export command. >> > >> > However, we need to run this command as our scheduler account (typical >> > domain user, no elevated access). The account is receiving an 'access >> > is >> > denied' error when attempting to run the netsh command. >> > >> > Does anyone know how to grant a user permission on the netsh command to >> > backup the database? >> >>
Guest Andrew Posted October 25, 2007 Posted October 25, 2007 Re: DHCP Backup - Windows 2003 Our goal is to automate the DHCP backup process... we have about 20 DHCP servers. I could do it manually, but it would be a pain ;-) "Mathieu CHATEAU" wrote: > anyway, you will need at least elevated privilege. > > You may backup the content of systemroot\System32\Dhcp\Backup > It contains a backup made by the dhcp service > > You can change how often the dhcp service backup the conf: > KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters\BackupInterval > > And you would need to manually backup: > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters > > > Can you explain more why you need to use a basic user account ? > is manual backup from the dhcp console acceptable ? > > -- > Cordialement, > Mathieu CHATEAU > English blog: http://lordoftheping.blogspot.com > French blog: http://www.lotp.fr > > > "Andrew" <Andrew@discussions.microsoft.com> wrote in message > news:BF9C5150-298A-452E-BC0E-4C311680C2CA@microsoft.com... > > Mathieu, > > > > Thanks for the reply... > > > > We actually need to do this with just a basic user account. And most of > > our > > DHCP servers are on DCs so there is no local administrators group. > > > > Is there a way to regularly backup the DHCP database with just a basic > > user > > account? > > > > "Mathieu CHATEAU" wrote: > > > >> Hello, > >> > >> User must be member of the local administrator group > >> > >> "Access denied" error message when you use the "netsh dhcp server import" > >> command to import a DHCP database from a Windows NT Server 4.0-based > >> computer to a Windows Server 2003-based computer > >> http://support.microsoft.com/kb/890480/en-us > >> > >> > >> > >> -- > >> Cordialement, > >> Mathieu CHATEAU > >> English blog: http://lordoftheping.blogspot.com > >> French blog: http://www.lotp.fr > >> > >> > >> "Andrew" <Andrew@discussions.microsoft.com> wrote in message > >> news:E1B82A90-27F9-44DB-B3EC-60CE18379357@microsoft.com... > >> > Hello... > >> > > >> > I am trying to develop a backup solution for our DHCP servers using the > >> > netsh dhcp server export command. > >> > > >> > However, we need to run this command as our scheduler account (typical > >> > domain user, no elevated access). The account is receiving an 'access > >> > is > >> > denied' error when attempting to run the netsh command. > >> > > >> > Does anyone know how to grant a user permission on the netsh command to > >> > backup the database? > >> > >> > >
Guest Mathieu CHATEAU Posted October 25, 2007 Posted October 25, 2007 Re: DHCP Backup - Windows 2003 I understand, but why with a limited account ? -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Andrew" <Andrew@discussions.microsoft.com> wrote in message news:0594CCEE-8185-4539-8F45-3545ADA1BE34@microsoft.com... > Our goal is to automate the DHCP backup process... we have about 20 DHCP > servers. I could do it manually, but it would be a pain ;-) > > "Mathieu CHATEAU" wrote: > >> anyway, you will need at least elevated privilege. >> >> You may backup the content of systemroot\System32\Dhcp\Backup >> It contains a backup made by the dhcp service >> >> You can change how often the dhcp service backup the conf: >> KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters\BackupInterval >> >> And you would need to manually backup: >> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters >> >> >> Can you explain more why you need to use a basic user account ? >> is manual backup from the dhcp console acceptable ? >> >> -- >> Cordialement, >> Mathieu CHATEAU >> English blog: http://lordoftheping.blogspot.com >> French blog: http://www.lotp.fr >> >> >> "Andrew" <Andrew@discussions.microsoft.com> wrote in message >> news:BF9C5150-298A-452E-BC0E-4C311680C2CA@microsoft.com... >> > Mathieu, >> > >> > Thanks for the reply... >> > >> > We actually need to do this with just a basic user account. And most >> > of >> > our >> > DHCP servers are on DCs so there is no local administrators group. >> > >> > Is there a way to regularly backup the DHCP database with just a basic >> > user >> > account? >> > >> > "Mathieu CHATEAU" wrote: >> > >> >> Hello, >> >> >> >> User must be member of the local administrator group >> >> >> >> "Access denied" error message when you use the "netsh dhcp server >> >> import" >> >> command to import a DHCP database from a Windows NT Server 4.0-based >> >> computer to a Windows Server 2003-based computer >> >> http://support.microsoft.com/kb/890480/en-us >> >> >> >> >> >> >> >> -- >> >> Cordialement, >> >> Mathieu CHATEAU >> >> English blog: http://lordoftheping.blogspot.com >> >> French blog: http://www.lotp.fr >> >> >> >> >> >> "Andrew" <Andrew@discussions.microsoft.com> wrote in message >> >> news:E1B82A90-27F9-44DB-B3EC-60CE18379357@microsoft.com... >> >> > Hello... >> >> > >> >> > I am trying to develop a backup solution for our DHCP servers using >> >> > the >> >> > netsh dhcp server export command. >> >> > >> >> > However, we need to run this command as our scheduler account >> >> > (typical >> >> > domain user, no elevated access). The account is receiving an >> >> > 'access >> >> > is >> >> > denied' error when attempting to run the netsh command. >> >> > >> >> > Does anyone know how to grant a user permission on the netsh command >> >> > to >> >> > backup the database? >> >> >> >> >> >>
Recommended Posts