.

using run as command through Netlogon

<<

manju_salian

User avatar

Jr. Member
Jr. Member

Posts: 89

Joined: Mon Apr 09, 2007 1:31 am

Post Thu Aug 20, 2009 7:11 am

using run as command through Netlogon

Hi,
i want to exevute the batch file through NEtlogon from AD.
i m looking for the script which login though admin id and execute  the batch file with Netlogon.
Is there any way to execute the batch file with admin priveledge.
I failed with runas cmd where it promts for password.
Kindly suggest if any
<<

Ketchup

User avatar

Hero Member
Hero Member

Posts: 1021

Joined: Fri Jul 04, 2008 7:44 pm

Location: Philadelphia, PA

Post Thu Aug 20, 2009 7:42 am

Re: using run as command through Netlogon

I think that if you want to escalate privs, you have to do exactly that.  There are a number of tools out there, like Pass the Hash Tooklkit that will do this for you.  The user you are escalating to may have to be logged on.  You can also code your own with API hooking.  Still, I think you would have to have the higher privileged user already logged on.

You can also trying running a Startup script through Group Policies.  It runs on computer startup, not user logon.    This script would run under the Local System account and will not have access to other Network nodes most likely. 
~~~~~~~~~~~~~~
Ketchup
<<

manju_salian

User avatar

Jr. Member
Jr. Member

Posts: 89

Joined: Mon Apr 09, 2007 1:31 am

Post Thu Aug 20, 2009 8:16 am

Re: using run as command through Netlogon

Hi,
i am trying to deploy this script on all the domain users machine.
when i deploy thru group policies the script should get executed on all tha mehines with admin privedge.
Kindly suggest the way
<<

Ketchup

User avatar

Hero Member
Hero Member

Posts: 1021

Joined: Fri Jul 04, 2008 7:44 pm

Location: Philadelphia, PA

Post Thu Aug 20, 2009 8:33 am

Re: using run as command through Netlogon

The Local System account has full admin rights on your machine.  Try the Startup script.  You can set through a GPO.
~~~~~~~~~~~~~~
Ketchup

Return to Other

Who is online

Users browsing this forum: No registered users and 0 guests

cron
.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software