Solved

Startup Script Accessing A Shared Drive? (Active Directory)

Posted on 2010-08-18
1
559 Views
Last Modified: 2013-11-25
We have an application that requires updates every so often. The application installed a version controll application on each client machine.

To execute the version control we just do C:\vcp.exe /r

This connects to a shared drive, in this case \\DC6\app_root\ and pulls down all the new needed files and registers them.

You need administrator rights on each machine to do this, i tried creating a startup script and sticking it under the machine startup in group policy, however i get an error "You are not properly logged on or have no access to \\DC6\

Anyone have any thoughts? Will it work if i stick it under the user level? Its a pain to manually update each machine...

0
Comment
Question by:HADDADD3
1 Comment
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 33465013
A startup script can/will connect to network resources with the credentials of the *computer* object in AD.
In other words: the share "\\dc6\app_root" needs to be accessible by share and NTFS permissions for each computer object on which you want to run this script. You can either use the global default group "Domain Computers", or you can add the required computer objects into a dedicated group and give this group permissions (requires a restart of the machines in order to recognize the changed group membership).
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question