Jump to content

Recommended Posts

Posted

Anyone successfully copied a file to the startup folder via gpp ?

 

e.g C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

 

I set up a GPP to copy in (tried user and computer) a vbs file but I'm getting access denied (0x8007005)

 

I can access and run the script from the test target machine no problem (it's on a remote share)

Posted

Rather than copy the script to the startup folder, why not run it is a logon script or via the HKCU Run key (below)? The latter can be created via GPP too.

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"RunScript"="C:\\WINDOWS\\system32\\wscript.exe \\\\Server\\Share\\Startup.vbs"

  • Thanks 1
Posted

It's just a script to pin things to the start menu, I can think of plenty of ways to do it, just wondering why this doesn't work, cheers Arthur I'll give that a try.

 

I tried a different folder and applied settings to that, and even changed permissions on a test machine of the startup folder - still no go!

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...