Tuesday, March 4, 2014

Import ksoap into an Android project in Eclipse


ksoap is a SOAP API suitable for the J2ME, based on kXML. We can use ksoap in Android to access soap based web services easily. In this tutorial I'm not going to develop any web service. This will describe how to add ksoap in to your Android project when you are using Eclipse IDE.

Pre-requisites
1. Eclipse with ADT.
2. Android SDK.
3. ksoap (Click here to download ksoap2 jar file).

 
Adding ksoap is very easy. In the same way we can add any other library file.
Follow this steps to add ksoap2(or any other library file) in to existing Android project.

1. First download & copy ksoap2.jar in to documents or any other accessible directory. 
2. Right click on your Android project.
3. Select properties.
4. In properties window select Java Build Path > Libraries > Add External JARs.
5. Select ksoap2.jar file. Then click Open & finally click OK.

Wednesday, January 8, 2014

How to Reset the Local Administrator Password on Multiple Computers Remotely

The Pspasswd tool, which is part of the Sysinternals PsTools download, can be used to reset the local administrator password across one or more machines locally or remotely.
The tool must be run while logged on with an account that has administrative rights on the target computer, for example a domain admin account. You can also specify those credentials via the command-line. Pspasswd uses Windows authentication methods to authenticate to remote systems and does not put passwords in clear text over the network.

For a single computer:

pspasswd \\computer_name Local_administrator_account_name “New_Password” 

For multiple computers:
pspasswd \\computer1_name,computer2_name,computer3_name Local_administrator_account_name “New_Password”

For all computers in the environment:
pspasswd \\* Local_administrator_account_name “New_Password”

For multiple computers using a text file containing the computer names:
pspasswd \\@file.txt Local_administrator_account_name “New_Password”