Re: File copy in startup script in Group policy.
Tech-Archive recommends: Speed Up your PC by fixing your registry
Andre wrote:
>I am new to scripting so this maybe a real simple solution but here goes:
>
> I have in group policy set up with a VBS script that will map a network
> drive and then copy a file from that folder and place it on the local C:
> drive. My understanding is this would get copied even before the user
> logs
> on to the computer and uses the "System" (local system) access for the
> copy.
> I am getting a premission denied error.
>
> So how can I fix this? Is there away to copy a file in this way as an
> administrator?
Hi,
Startup scripts run with system permissions on the local computer and the
permissions of the computer object in the domain. The script has sufficient
permissions locally, but probably lacks permission to copy the file from
it's source location. Give the group "Domain Computers" read permission to
the share where you are copying files from. This gives permission to all
computer objects.
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab -
http://www.rlmueller.net
.
Relevant Pages
- Re: how to restrict users to search in their own Organizational Unit
... candidate for scripting IF the process makes sense at ... If MOSS Admins need to administer users and/or group membership, just create a mmc console and delegate the proper rights for them. ... Now, because you're dealing with many users, my recommendation is to create THE NECESARY Security Groups in each OU and related them with your MOSS2007 existing security groups, in future when someone creates some user, you just have to add that user to the necessary group and that user will be given the necessary permissions. ... (microsoft.public.windows.server.active_directory) - Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)
... > IIS Administrator for an FTP site. ... > complete Windows Scripting novice so I'm hoping that I can get some help ... > What I am even more unsure of is scripting the creation of Virtual Folders ... The permissions will need to be set to ... (microsoft.public.windows.server.scripting) - Re: Sql permissions headache
... By scripting all of your database objects and the permissions ... Knowing which permissions to assign each group is not going to be easy... ... creation (tables, views, stored procs, etc.), I put a GRANT statement to ... (microsoft.public.sqlserver.security) - Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)
... >complete Windows Scripting novice so I’m hoping that I can get some help on ... >What I am even more unsure of is scripting the creation of Virtual Folders ... The permissions will need to be set to ... >account will need to be given ‘modify’ permissions (everything except ‘full ... (microsoft.public.windows.server.scripting) - Re: xcacls.vbs version 5.1
... We use open share permissions and tight NTFS ... Windows XP/Win2k3 computer instead and see if it helps on the speed. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ... (microsoft.public.windows.server.scripting) |
|