Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

I need to have the attached batch file rewritten to vbscript

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
itbabe
Asked:
itbabe
1 Solution
 
Netman66Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now