caffrey Posted December 6, 2013 Posted December 6, 2013 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)
AngryTechnician Posted December 6, 2013 Posted December 6, 2013 What are the permissions on the share? You'll need to do this in computer GPP which will mean GPP is using the AD machine account to access the network.
caffrey Posted December 6, 2013 Author Posted December 6, 2013 permissions are set to everyone, users and administrators, just tried a few others and still no go?
free780 Posted December 7, 2013 Posted December 7, 2013 (edited) What does the vbs sxript do? Edited December 7, 2013 by free780
Arthur Posted December 7, 2013 Posted December 7, 2013 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" 1
caffrey Posted December 9, 2013 Author Posted December 9, 2013 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now