Solved

I need to have the attached batch file rewritten to vbscript

Posted on 2011-03-14
1
324 Views
Last Modified: 2012-05-11
The batch file has to be ran with 2 parameters , the first parameter is the location of the folder where reg files are located , the second is the username of the loged on user.

Based on how and whether the username is configured a reg file is added to the pc of the user. base.bat.txt base.bat.txt base.bat.txt
groups-regfiles.txt
0
Comment
Question by:itbabe
1 Comment
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 35136875
Based on what I can see in those scripts, I'm assuming you want a registry value set for custom reports based on the user - is this correct?

Let me ask you a few questions first.

1)  Are these reports different based on the user only or are they departmentally the same?  What I mean is can this solution be based on security groups rather than individual people?

2)  What is the registry setting?  I don't see the reg file.

Depending on the answers, I think we could approach this from a different angle using Group Policy and scripts and filter them by Security Group.  It would be much simpler in my opinion and could be managed/changed centrally.

Let me know.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now