Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.


Guy's Review of
Computer Utilities

 1) FreePing
 2) Wake-on-LAN
 3) Xobni
 4) PuTTY
 5) WMI Monitor
 6) BgInfo
 7) Net-SNMP
 8) IP Address Tracker
 9) DNS Stuff
10) WinDiff Compare


Code  80072035 - The server is unwilling to process the request

Troubleshooting: The server is unwilling to process the request

Introduction to Error Code 80072035

This error, code 80072035 occurs when you execute a VBScript.  My suggestion is you are trying to set a user property which the security policy forbids.  This is a tricky error because it may be a policy on the server, rather than a pure scripting error, which halts your script.  Cameron Anderson also points out that it could be that you are trying to rename a user that already exists.

The Symptoms You Get with error 80072035 Code 80072035 - The server is unwilling to process the request

When you execute the script you get a message box like this (See diagram).  The VBScript does execute as you hoped. 

The Cause of Code 80072035

One possibility is that you trying to enable or 'set' a user account.  The problem is that the account must have a password and none is provided. 

Another possibility is that your domain policy requires a complex password.  In terms of pure troubleshooting, the big clue is the Line: number.  Also Char: 5 helps to pinpoint the error.

Guy Recommends:  Solarwinds' Free Bulk Import ToolFree Download Bulk Import Tool

Import users from a spreadsheet.  Just provide a list of the users with their fields in the top row, and save as .csv file.  Then launch this FREE utility and match your fields with AD's attributes, click and import the users.  Optionally, you can provide the name of the OU where the new accounts will be born.

There are also two bonus tools in the free download, and all 3 have been approved by Microsoft:

  1. Bulk-import new users into Active Directory.
  2. Seek and zap unwanted user accounts.
  3. Find inactive computers.

Download your FREE bulk import tool.

The Solution

Add a set password instruction to the script.  Even try a complex password such as P@$$w07rd   Alternatively, reset the domain policy and lessen security just while you run the script.  In this case you could change the UserAccountControl value to 514, just to see if the script completes successfully.

Cameron Anderson also points out that it could be that you are trying to rename a user that already exists; if so, choose a different name.  In this scenario, also look at the sAMAccountName.

Example of Script showing Code 80072035

     objUser.SetInfo   This is where the error is to be found.  The line is indented 5 characters so the problem is with the first word = objUser.   

 

Set objRootDSE = GetObject("LDAP://rootDSE")

Set objContainer=GetObject("LDAP://cn=Users," & _
objRootDSE.Get("defaultNamingContext"))
intAccValue=512
Set objOu = GetObject("LDAP://cn=Users," & _
objRootDSE.Get("defaultNamingContext"))

For each objUser in objOu
strUname=objUser.get("name")
If Left(strUname,4) ="User" Then
     objUser.Put "userAccountControl", intAccValue
      objUser.SetInfo
     
Wscript.Echo strUname
End if
next
Wscript.Echo "Users Enabled"

Guy Recommends: WMI Monitor and It's Free!Solarwinds WMI Monitor

Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems.  Fortunately, Solarwinds have created the WMI Monitor so that you can examine these gems of performance information for free.  Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.

Download your free copy of WMI Monitor


Do you need extra help?

For interpreting the WSH messages check Diagnose 800 errors.

For general advice try my 7 Troubleshooting techniques

Give something back?

Would you like to help others?  If you have a good example of this error, then please email me, I will publish it with a credit to you:

   

Download my Logon Script eBook for only $6.25

Logon ScriptThe extra features you get in your eBook include, more pages full of detailed examples.  Also, ten 'how to...' sections, with screen shots showing which menus to use.  Go for Guy's eBook - and get a printable version with copy enabled and no expiry date.

  Jumbo Script 7 Package

If you like this page then please share it with your friends

 


 *


Custom Search

Solarwinds Network Device MonitorSolarwinds' Free Network Device Monitor

Thus utility makes it easy to check the health of a router or firewall.  Check the real-time performance and availability statistics for any device on your network.

Get started with an extensive collection of "out-of-the-box" monitors for popular network devices.  Download your free Network Device Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.