The basic usage of create a service on windows system.:
c:\> sc create MYSERVICE binpath= "Y:\testservice.exe" type= share start= auto depend= Tcpip
=====================================================================================================================
net use Command reminder
net use \\126.124.12.151\IPC$ "ljflong" /user:Administrator
net share
net view \\126.124.12.101
===========================================================================================================================
sometime, we can not access remote machine through net use command, even if we have the previlige of admin. For example, we have administrator's password.
This perhaps because serveral reasons. One is firewall, please close it. And another important reason is user's login manner, and target machine's setting
about network access, local account share and safe manner.
remember change only guest manner to use self authuentation manner. in SECPOL.MSC--->LOCAL POLICY-->SECURITY OPTIONS-->NETWORK ACCESS: local account share and
safe manner.
So that, now can access remote machine.
=================================================================================================================================