Advertisement

05.14.2008 at 12:31PM PDT, ID: 23402844 | Points: 500
[x]
Attachment Details

Error Moving Active Directory User Accounts within a domain using VBS script

Tags: The server is unwilling to process the request
Hello,

I have a script that simply checks to see if a user has logged into AD in the past 30 days.  If not, and if the account isn't in the exceptions list, this script will copy the user account to a Disabled User Accounts OU within the same domain.  So this isn't a cross-domain move.  I'm now getting an error that says

"The server is unwilling to process the request".  This script used to work, however, one of our internal auditors found that it isn't working properly and the script just stops due to this error.  It happens as soon as the very first "MoveHere" command is executed.  If i comment out that command in the script, it cycles through everything else with no errors....but as soon as the MoveHere is turned back on i get that error message.  Why would this break now?  The code hasn't changed one bit in the VBS file as we had no reason to change it.  The target Disabled User Accounts OU still exists and hasn't been renamed.  

I found in my research (here: http://www.microsoft.com/technet/scriptcenter/guide/sas_usr_aznz.mspx?mfr=true) that if you are trying to move an object to another domain within the same forest, then the user account that you're trying to move cannot be a member of any global groups.  Is that the case for moving objects within the same domain too??

Thanks
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: JasonBarrett
Question Asked On: 05.14.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
05.15.2008 at 09:15AM PDT, ID: 21575254

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.15.2008 at 10:45AM PDT, ID: 21576325

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628