Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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