Pook Posted December 4, 2008 Posted December 4, 2008 I was asked to change a registry key and delete a file(s) on multiple users profiles. Outline: - Each workstation has multiple user profiles. Some workstations have +10 profiles - + 500 workstations total - Change registry key on each local profile - Delete file under a folder (example: C:\Documents and Settings\%SID%\Application Data\Microsoft\OFFICE - I dont know the profile names - cant use log on scripts or our SMS (dont ask long story) Anyone have a good idea on how I should do this? - I was thinking about scanning for all profile names (folders names under Documents and Settings) and the running the script that way. (for the file part) - Not sure how I can change all registry profiles. Since some might be logged onto the workstations when Im running this script. (Were 24x7) Ill post my finished script for review. Any ideas?
Ghost21 Posted December 4, 2008 Posted December 4, 2008 I was asked to change a registry key and delete a file(s) on multiple users profiles. Outline:- Each workstation has multiple user profiles. Some workstations have +10 profiles- + 500 workstations total- Change registry key on each local profile - Delete file under a folder (example: C:\Documents and Settings\%SID%\Application Data\Microsoft\OFFICE - I dont know the profile names- cant use log on scripts or our SMS (dont ask long story)Anyone have a good idea on how I should do this?- I was thinking about scanning for all profile names (folders names under Documents and Settings) and the running the script that way. (for the file part) - Not sure how I can change all registry profiles. Since some might be logged onto the workstations when Im running this script. (Were 24x7)Ill post my finished script for review. Any ideas?Yeah I have a program that does almost exactley what you list out.. But post what you got and I will help you along the way...
November Posted December 4, 2008 Posted December 4, 2008 Hi there m8 Look up for Win32_RegistryAction and scriptomatic... probably may help you! Cheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now