Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Startup Script Accessing A Shared Drive? (Active Directory)

Posted on 2010-08-18
1
Medium Priority
?
573 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 85

Accepted Solution

by:
oBdA earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Progress

916 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