Question about Computers & Internet

1 Answer

Require a batch script

Hi

i want a batch script which would add a domain user to administrator group,add the same system to domain.is it possible.please help me.

waiting for a favourable reply.

Thanks
Ganesh

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 6 Answers

For domain groups use dsmod

ie
dsmod group GroupDN -addmbr MemberDN


for local groups use
net localgroup MyGroup john /add





Posted on Jun 19, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Hi, we're trying to use PsExex utility to launch 2 .exe files with some parameters on some server from a client application. The server is running Windows server 2003, the client Windows 7 Professional...


psexec in fact does run as the user running the command window that initiated the command. I use this command almost daily to run either command shells, batch or vbscripts, etc on remote computers. I've learned some about its behavior from watching the results.

Basically, psexec copies itself to the ADMIN$ share on the remote computer. It then installs a service on the remote computer, and runs that service, which is the copied file. This then executes the command that you specified in the psexec command line.

So, with that in mind, the user running psexec from the command line needs to have admin rights to the remote computer. You can bypass this requirement by using the "-u" parameter, and specifying a domainname\username. Domainname can be the remote computer's name if you have a local user. By putting in just the -u parameter, you'll then be prompted to type in the hidden password.

Once running on the remote computer, psexec will function in one of three ways:
1 - If no special parameter used, will run in the same user account as the person initiating the psexec command.
2 - If the "-u" parameter is used, it will run as that user.
3 - If the "-s" parameter is used, it will run as a local system account
In either of these 3 cases, you first have to have admin rights to use the ADMIN$ share and install a service.

When domain membership is broken on a computer, I'll frequently use a command line like this:
psexec -u COMPUTERNAME\Administrator \\COMPUTERNAME cmd.exe

This will allow me to have local admin rights by connecting to the remote computer as the local administrator account. It will also run the cmd.exe command as the local admin account.

Aug 30, 2011 | Microsoft PsExec

Tip

How To Install The LogMeIn Plugin In Google Chrome


LogMeIn is not officially supported within Google Chrome, but the Mozilla Firefox version of the plugin has been verified to work in Google Chrome with the help of the following script: <a href="http://userscripts.org/scripts/show/53796">http://userscripts.org/scripts/show/53796</a><br /> <br /> For XP put script in:<br /> "C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Google\Chrome\User Data\Default\User Scripts" <br /> <br /> For Vista and 7 put script in:<br /> "C:\Users\YOURUSERNAME\AppData\Local\Google\Chrome\User Data\Default\User Scripts" <br /> <br /> To use, you must run your browser's exe with the parameter --enable-user-scripts<br /> <ol> <li>Right-Click on the Google Chrome Shortcut.</li> <li>In the Shortcut Tab, change the Target to "C:\Users\YOURUSERNAME\AppData\Local\Google\Chrome\Application\chrome.exe --enable-user-scripts"</li></ol> Now the LogMeIn plugin can be installed in Google Chrome from here: <a href="https://secure.logmein.com/connect_mozilla.asp?dothis=install">https://secure.logmein.com/connect_mozilla.asp?dothis=install</a>

on Feb 16, 2011 | LogMeIn Pro2

Tip

CREATING TRUST RELATIONSHIP BETWEEN TWO WINDOW DOMAIN(2003 server)


Using two domains for example Domain X and Domain Y.
You can create a two-way trust with domain-wide authentication.between the two domains if they belong to the same organisation depending on the imformation that you want to share or use between the two domains .you do this on an established domain controller for each domain.
  • STEPS
  • .On the server where you have domain controller for example on Domain X ,log on as an administrator then go to >Start >Administrative Tools >Active Directory Domains and Trusts.then Right-click on Domain X, go to > Properties. >click on "Trusts" tab. then > New Trust. click - [Next].
  • In the name field type the second domain to trust thats domain Y, in this case then click >next to continue
  • then Select the Direction of the Trust. either two way trust or one way but in this case its a two way then Click [Next].
  • In "Sides of the Trust", select the "This domain only" bullet. then [Next].
  • Set the Authentication level to "Domain-wide Authentication". then [Next].
  • you will be prompted to Enter a Trust Password twice. also Remember to make it strong enough to comply with password criteria in your domain security policy.
  • Click [Next] - [Next] - [Next].
  • Select the "No" bullet to the Outgoing Trust Confirmation - [Next].
  • Select the "No" bullet to the Incoming Trust Confirmation - [Next].
  • Click [Finish] - [OK].
  • Log off of DomainX ,
  • ON THE SECOND DOMAIN (DOMAIN Y) YOU PERFORM THE BELOW STEPS

  • Then .Login to DomainY using Administrator account.
  • go to > Start > Administrative Tools ->Active Directory Domains and Trusts.
  • Right-click on Domain Y, and select Properties. click on "Trusts" tab. Click the [New Trust...] then [Next].
  • in the Name field type domain X to indicate the domain to trust, then click [Next].
  • Select " the Direction of the Trust. in this case its a two way trust then Click [Next].
  • In "Sides of the Trust", select the "This domain only" bullet. Tthen Click [Next].
  • Set the Authentication level to "Domain-wide Authentication". then Click [Next].
  • you will be prompted to Enter a Trust Password twice.dont forget to use the same Trust Password that you used previously in the step above then Click [Next] - [Next] - [Next].
  • Select the "Yes" bullet to the Outgoing Trust Confirmation - [Next].
  • Select the "Yes" bullet to the Incoming Trust confirmation - [Next].
  • to finish Click [Finish] - [OK].
  • Then Log off of DomainY.

on Dec 30, 2009 | Computers & Internet

1 Answer

Administrator locked


is there any account having a access on that PC..if yes,,..
log on it..
goto programs..
>accessories
>system restore
and then set date and hours you want system to restore..

good luck.

May 20, 2009 | Avocent DSView 3.0

1 Answer

ISA problem


Block Inheritance settings to stop this replication

Jan 30, 2009 | Microsoft ISA Server 2004 (e84-00526) for...

1 Answer

Ristricted logging onto server when server is off


Hi
Thanks for the background info, this makes it easier for me to see what you need.
You need to disable your guest account if you havnt already done so.
The user is logging on with a cached version of the logon information, this is useful for when the server goes down but not in your case as you need to prevent this.
Another worrying aspect is that you allow all your users to log on using the same password. Very bad from a security aspect anyhow. It is better to change at least every 30 days. If they moan they will get used to it soon enough.
Go into group policy again and computer configuration>windows settings>security settings>local policies>security options and look for interactive logon:number of previous logons to cache - set this to 0. If the domain controller is not available and the logon info is not cached they cannot logon to domain.
Group policy can be overruled at the client end if they have admin priviledges so you may have to set this on the client pc also. But you need to test to see if it is required there. I have not used that particular policy but it should be ok just on the server. Your users dont have admin rights do they? Anyway good luck. You can set this by applying it to an OU or domain wide but if you want to target just this one pc then maybe if you put it in its own ou and apply it just there.
You need to create new policies rather than modifying the domain one and keep each policy for specific purposes so that applying them to ou's is easier, ie internet options policy, firewall policy, working hours policy etc.
Regards
Julie

Mar 26, 2008 | Computers & Internet

2 Answers

Doubt in Accessing network computer.....


It simple, you need to configure the security option in sharing folders. These are the following procedure below:

First, right click the folder you want to share and select sharing and security.

Second, click permissions command button. At permissions tab you need to remove group or user names appeared as everyone.

Third, after removing you need to add new account which will specify the only user permitted to access the shared folder.

Fourth, click Advance command button and click Find Now where all the available administrator accounts and users are displayed below.

Fifth, select user account which you are desire to use it in accessing the file by highlighten it. Then press OK and another OK button to finalized the settings.

Lastly, you can find an option allow and deny permission you can choice at any what you what to do it. Then click Apply and Ok button.

That's all, Hope you will rate my solution as SOLVED. That's simple instruction hope you like it.

Good luck.

Nov 20, 2007 | Cisco VPN 3000 (LL-VPN3000) for PC

2 Answers

Computer problem


You should make sure that you have administrative previlges to do this.

Some programs may have prevented the network service from being disabled.

This can also be caused by a virus too. So you also install and run a full system scan. Don't rely on a single antivirus. try different one if one doesn't solve the problem.

Some worms prevent the networked systems to be controlled by users of the administrative groups.

also remember that most of today's networks are equipped and monitored with network monotoring ultilities. some of these also acts as firewalls too. This may prevent you from disabling the local area connection.

If nothing works at all, just pull the network plug (RJ45). will disable the network connection. this way the appliaction that is using the connection is likely to display some error message. if this is a freindly application change the configuration settings of this application so that you could control the lan connections.

Oct 29, 2007 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

101 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98829 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...