Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DanielMc

    Does anyone know what the SUSS command does in NT?

    Not to beat a dead horse about PSExec, but it has worked well for me once I realized a few of it's problems. I do not use it's built-in switches for changeing user. I Map the C$ drive of the remote computer first using the net use command. Once the session is established, PSExec works well...
  2. DanielMc

    Does anyone know what the SUSS command does in NT?

    SU.exe allows yo to run under a different security context. But it runs on the local machine and it also requires access to a text file with the account password to be viewable by the user. A tool you might like comes from SysInternals.com called PSTools (PSExec.exe) . PSTools is a collection...
  3. DanielMc

    Local Administrator

    I think the Administrator account will have a SID that ends with -500. You should be able to go to the key below and check each subkey (Subkey is named after the sid) ernding in -500. Then check the ProfileImagePath value, it should show the name of the folder in the profiles directory that...
  4. DanielMc

    NT4 WORKSTATION USERS

    :: What about the 'net user' and 'net localgroup' commands. :: You still have to run this batch file. :: Add users net user newperson1 /add net user newperson2 /add :: Make a group net localgroup newgroup1 /add :: Add users to the group net localgroup newgroup1 newperson1 /add net...
  5. DanielMc

    local users get password challenge for C$ and Admin$

    Are you launching these applications from a shortcut. If not, this message will be way off. It may be a shortcut is messed up. The Q150215 article explains (in 1/2 a sentence) that you can open a shortcut in Notepad and see some information other than what shows in the shortcut properties...
  6. DanielMc

    changine ip address with a batch file?

    Hello Amadi, Have you checked the registry using Regedit or Regedt32? Can you verify several things for me: You got the value of NETCARDNAME from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\1 Using the Network Card Name check that this key exists...
  7. DanielMc

    hi guys! can anyone tell me a c

    Net stop <service name> works to kill any services that interfear with installations such as Antivirus software.
  8. DanielMc

    Taking a line form a file

    :: Here is a way to combine files :: the problem here is that you will get all the lines :: from both files into the third file and the lines end :: a carrage return, so you can not use this method :: to build any single line out of 2 files echo first line >> c:\firstline.txt echo second line...
  9. DanielMc

    Does anyone know what the SUSS command does in NT?

    Su.exe is a utility from the Resource kit in NT4 that lets you run a single program in a different security context than the logged on user. It is like the su command in unix. Suss -install will install the service. I am not sure but I think SU stands for Switch User. That is exactly what it...
  10. DanielMc

    NT Batch File for Multiple IP Addresses

    @echo off :: You could put set outPutFile=%1 to accept an argument sent to the batch file set outPutFile=c:\output.txt set thirdOctetCount=0 set fourthOctetCount=0 :ThirdOctet set fourthOctetCount=0 :FourthOctet echo Now Pinging 192.168.%thirdOctetCount%.%fourthOctetCount% ping...
  11. DanielMc

    changine ip address with a batch file?

    :: You can try this as a batch file. I HAVE NEVER Tried :: this in production!!!!!!!!!!!!!!! :: %1 should be the Name of the Network Card :: To find out the network card name for that PC look at: :: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows :: NT\CurrentVersion\NetworkCards\1 :: Value...

Part and Inventory Search

Back
Top