Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » robocopy with User profile login scripts
robocopy with User profile login scripts [message #159957] Thu, 13 August 2009 13:12 Go to next message
totalnet32  is currently offline totalnet32  United States
Messages: 8
Registered: August 2009
Junior Member
created a cmd file copied that file to netlogon folder . copied the
robocopy.exe to the same folder.
logged into server. the User home directory is pushed down but the cmd
does not happen. I also tried renaming the cmd to bat. Nothing yet.

Gave full access to the netlogon folder.
Re: robocopy with User profile login scripts [message #159964 is a reply to message #159957] Thu, 13 August 2009 20:33 Go to previous messageGo to next message
Grant Taylor  is currently offline Grant Taylor  United States
Messages: 168
Registered: July 2009
Senior Member
On 8/13/2009 2:12 PM, totalnet32 wrote:
> created a cmd file copied that file to netlogon folder . copied the
> robocopy.exe to the same folder.
> logged into server. the User home directory is pushed down but the cmd
> does not happen. I also tried renaming the cmd to bat. Nothing yet.
>
> Gave full access to the netlogon folder.

..cmd and .bat files need a path to the command to run. Make sure you
are 1) calling the .cmd (.bat) file via logon script or GPO and 2)
make sure that the .cmd (.bat) file has a path to robocopy, either a UNC
or a mapped drive. (Simply placing the script in the netlogon folder is
not enough to get the script to run.)



Grant. . . .
Re: robocopy with User profile login scripts [message #159969 is a reply to message #159964] Fri, 14 August 2009 01:06 Go to previous messageGo to next message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Grant Taylor" <gtaylor@riverviewtech.net> wrote in message
news:h62idh$ai8$1@tncsrv01.tnetconsulting.net...
> On 8/13/2009 2:12 PM, totalnet32 wrote:
>> created a cmd file copied that file to netlogon folder . copied the
>> robocopy.exe to the same folder.
>> logged into server. the User home directory is pushed down but the cmd
>> does not happen. I also tried renaming the cmd to bat. Nothing yet.
>>
>> Gave full access to the netlogon folder.
>
> .cmd and .bat files need a path to the command to run. Make sure you are
> 1) calling the .cmd (.bat) file via logon script or GPO and 2) make sure
> that the .cmd (.bat) file has a path to robocopy, either a UNC or a mapped
> drive. (Simply placing the script in the netlogon folder is not enough to
> get the script to run.)
>
>
>
> Grant. . . .


Excellent points. In addition, there's no need to give users FC on the
Netlogon folder. Imagine the implications!

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum to benefit from collaboration
among responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.
Re: robocopy with User profile login scripts [message #159971 is a reply to message #159969] Fri, 14 August 2009 01:11 Go to previous messageGo to next message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Ace Fekay [MCT]" <aceman@mvps.RemoveThisPart.org> wrote in message
news:O0dR$2KHKHA.1380@TK2MSFTNGP02.phx.gbl...
>
> Excellent points. In addition, there's no need to give users FC on the
> Netlogon folder. Imagine the implications!

The permissions comment was meant for the OP (totalnet32).
:-)
Re: robocopy with User profile login scripts [message #160176 is a reply to message #159969] Wed, 19 August 2009 19:18 Go to previous messageGo to next message
totalnet32  is currently offline totalnet32  United States
Messages: 8
Registered: August 2009
Junior Member
On Aug 14, 3:06 am, "Ace Fekay [MCT]" <ace...@mvps.RemoveThisPart.org>
wrote:
> "Grant Taylor" <gtay...@riverviewtech.net> wrote in message
>
> news:h62idh$ai8$1@tncsrv01.tnetconsulting.net...
>
>
>
>
>
> > On 8/13/2009 2:12 PM, totalnet32 wrote:
> >> created a cmd file copied that file to netlogon folder . copied the
> >>robocopy.exe to the same folder.
> >> logged into server. the User home directory is pushed down but the cmd
> >> does not happen. I also tried renaming the cmd to bat. Nothing yet.
>
> >> Gave full access to the netlogon folder.
>
> > .cmd and .bat files need a path to the command to run.  Make sure you are
> > 1)  calling the .cmd (.bat) file via logon script or GPO and 2) make sure
> > that the .cmd (.bat) file has a path torobocopy, either a UNC or a mapped
> > drive.  (Simply placing the script in the netlogon folder is not enough to
> > get the script to run.)
>
> > Grant. . . .
>
> Excellent points. In addition, there's no need to give users FC on the
> Netlogon folder. Imagine the implications!
>
> --
> Ace
>
> This posting is provided "AS-IS" with no warranties or guarantees and
> confers no rights.
>
> Please reply back to the newsgroup or forum to benefit from collaboration
> among responding engineers, and to help others benefit from your resolution.
>
> Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
> Microsoft Certified Trainer
>
> For urgent issues, please contact Microsoft PSS directly. Please checkhttp://support.microsoft.comfor regional support phone numbers.- Hide quoted text -
>
> - Show quoted text -

copied robocopy.exe and the cmd file to the C:\WINDOWS\SYSVOL\sysvol
\*servername*\scripts folder. In the person profile I just listed the
cmd file , NO unc path back to the scripts folder and it works
Re: robocopy with User profile login scripts [message #160177 is a reply to message #160176] Wed, 19 August 2009 19:54 Go to previous messageGo to next message
Grant Taylor  is currently offline Grant Taylor  United States
Messages: 168
Registered: July 2009
Senior Member
On 8/19/2009 8:18 PM, totalnet32 wrote:
> In the person profile I just listed the cmd file , NO unc path back
> to the scripts folder and it works

By "... just listed the cmd file ..." do you mean that you entered the
script as the profile's login script? If so, I believe these
automatically run out of a share to that location. Further, they are
running with an effective path to that directory. Thus when a script
looks for robocopy in the current working directory it finds it.

I'm glad that things are working for you.



Grant. . . .
Re: robocopy with User profile login scripts [message #160182 is a reply to message #160176] Wed, 19 August 2009 21:25 Go to previous messageGo to next message
afekay  is currently offline afekay  United States
Messages: 3
Registered: August 2009
Junior Member
totalnet32 was thinking very hard :
>
> copied robocopy.exe and the cmd file to the C:\WINDOWS\SYSVOL\sysvol
> \*servername*\scripts folder. In the person profile I just listed the
> cmd file , NO unc path back to the scripts folder and it works

Good to hear as well, that you got it working!

Cheers!
Re: robocopy with User profile login scripts [message #160183 is a reply to message #160182] Wed, 19 August 2009 22:08 Go to previous message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Ace Fekay [MCT]" <afekay@RemoveThisPartFirtsmsmvp.org> wrote in message
news:mn.9d7d7d9856ec99da.105663@RemoveThisPartFirtsmsmvp.org...
> totalnet32 was thinking very hard :

Sorry about that part above. I was testing a new newsreader, and it puts in
random phrases, the above being one of them. I have to watch that when
posting with it.

Ace
Previous Topic:AzMan Role Assignment not reflecting in ADAM
Next Topic:AD-ADAM Schema
Goto Forum:
  


Current Time: Sat Jan 20 08:30:02 MST 2018

Total time taken to generate the page: 0.06277 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software