Jump to content

Recommended Posts

Posted

I have a good comic program for the kids but as usual it does not like our network security. Unfortunately it wants to create a folder in System32 which security wont let it do...so...my question is...has anyone got a vbs script that I can run at logon that will create a folder in System32 at startup? Probably a simple task but easier to ask first!

also

I need a script to delete a shortcut link that it has installed on the desktop as I want to replace it with a customised one.

Posted
just use group policy preferences on a computer policy to create the folder than std gpo to assign permissions you could probablu use gpp to replace the shortcut as well
Posted
Thanks, will have a look at that. As I have already ployed the software (oops, yes I know test first!) can I add the setting to creat a new folder to that existing policy or as it has deployed, will I have to create a new policy for it to apply?
Posted
Thanks, will have a look at that. As I have already ployed the software (oops, yes I know test first!) can I add the setting to creat a new folder to that existing policy or as it has deployed, will I have to create a new policy for it to apply?

any of the above gpp will just create a folder when the policy applies permissions iirc require a reboot

  • Thanks 1
Posted

Update time: I managed to get the folder I wanted created with GPP and even got it to replace the existing shortcut to my customised one but the software still wants to have access to the folder it needs in System32. I tried running it as administrator via a vbs script which it now runs the software but when I come to open or save files in it, it does not show the mapped drives, so back at square one!

How can I allow users to have access to the folders I have created in system 32 that the software needs to access preferable via GPP (instructions how to do it would be nice for a Monday :) )?

Posted
How can I allow users to have access to the folders I have created in system 32 that the software needs to access preferable via GPP (instructions how to do it would be nice for a Monday :) )?

 

The LEA SIMS team insist on some weird folder permissions. I've used: Comp Config>Policies>Widows Settings>Security Settings>File System and added various files/folders there (IIRC you have to have the folders present on the system you're using) and then set permissions as appropriate.

Posted
(IIRC you have to have the folders present on the system you're using) .

 

Thanks, does that mean the client that it is required on or the server I am setting the GPP on?

Posted
Thanks, does that mean the client that it is required on or the server I am setting the GPP on?

 

When you set up the policy the only option seems to be to browse for a local file/folder on the server you're setting the GPO up on. However, I've just checked and it looks like you can just type in the folder location so in your case you could do %SYSTEM32%\RubbishSoftware. (I was wondering how I did the SIMS stuff as it's not installed on that server!)

  • Thanks 1
Posted
Tried that and couldn't get it to work with the %system32% but could with the path created on the server and selecting it...however...I also had to add the program files folder it uses as well. Seems to work OK now thanks.
Posted
Well just when I thought it was safe to enter the water again.....now I need to delete a folder it creates on startup, looked at GPP folders but the options just seem to be delete if it is already empty and these are not. Any ideas?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...