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.
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.
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. Download your FREE bulk import tool.
If you need more comprehensive software, download a free trial of SAM (Server & Application Monitor)
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.
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.
Do you need additional help?
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:
If you like this page then please share it with your friends