[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Local Admin Password change

Posted on 2011-05-12
6
Medium Priority
?
590 Views
Last Modified: 2012-06-21
Hi,

We are using Windows Server 2003 Domain controllers. I wish to change the Administrator password on all workstations in our domain. I am using one VB Script for that. I configured this script as a startup script using GPO. I put the script in SYSVOL share and configured the GPO. At this point of time the GPO applied successfully and the password changed accordingly.

But When I changed the script from SYSVOL and Kept in our file server share and I had configured the GPO accordingly. I had given the permissions on that file share to System, Authenticated users, Everyone to full access.The file share is accessible to all our workstations. Now the GPO is getting applied but it is not giving the exact result. In the event viewer I am observing lot of errors "Could not execute the following script \\172.30.16.72\Logonscripts\LAUANDPWD.vbe. Access is denied". I had given all the required rights on the folder. Please suggest me how to resolve this error.

Please find the Script and Error as attachments.

Thanks in advance.
 Script.txt Error screen shot
0
Comment
Question by:gaddam01
6 Comments
 
LVL 6

Accepted Solution

by:
Inderjeetjaggi earned 2000 total points
ID: 35745826
0
 
LVL 9

Expert Comment

by:MinoDC
ID: 35745879
try to set Share and NTFS (Security) permissions with Everyone Full Controll
0
 

Author Comment

by:gaddam01
ID: 35745915
The share and permissions are already given for Everyone with full control.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 22

Expert Comment

by:Joseph Moody
ID: 35745949
Why not use group policy preferences to manage local password? It is designed to do that and is super easy to set up!
0
 
LVL 4

Expert Comment

by:evgeny_f31
ID: 35746088
1 - Start  ProcessMonitor , run the script manually and check system activity.
2 - If it worked in sysvol folder, why change it to another folder ?
0
 
LVL 1

Expert Comment

by:TantraJ
ID: 35746510
Depends on how many users but you can get rid of the script and manually change the password from Users and computers.

The put script back in SYSVOL again
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question