Solved

How to collect logs from desktop

Hello,
1) How can i collect hundreads and thousands of desktop logs or missing logs which is not collected by domain controller. Are they any tools ?
2) how do i collect logs when user logs in locally ?
7 answers Last reply Best Answer
More about collect logs desktop
  1. ok will take it you have xppro and a windows 2003 server

    the latter is less important

    what you want to do is run up gpedit.msc on the local pc if it is not on the domain
    if it is on the domain you can use group policy managment from the server

    what you need to do is create a logoff .cmd file
    to do this open up notepad and put somthing like

    copy %windir%\debug\mrt.log \\server1\logs\MRTLogs\%computername%_%username%_mrt.log

    and if you want create a new logfile for some thing you have done

    If Not Exist \\server1\logs\LogCopy\%computername%_Compleat.Log echo %Time% %Date% Logcopy Compleated >\\server1\logs\LogCopy\%computername%_Compleat.Log

    then save it as Logcopy.CMD

    if this is not a domain pc the remember that the copy to folder need to be accesable to the pc.
  2. by doing this.. on which file is da desktop logs gnna be stored in ??
  3. ANd how about a user login into local machine so those logs cant be retrived by domain controller , hw to retrive such and store in domain controller any tools available for it
  4. the log will be stored where ever you want them to be i use a folder called logs and subfolders named after the logs

    if you use a logoff script or shutdown script then you need not logon to the pc your self as the process will be automated when the user logs off or shuts down the pc
  5. ...
  6. Best answer
    ok lets do this by the number as they say

    1) setup a shared folder on the server
    http://support.microsoft.com/kb/324267

    2) find the logfile you want to copy
    e.g. c:\myLog.log

    3) create a folder for it in the shared folder you created earlier named after the log file
    e.g. \\my-server\logs\MyLogs\

    befor we automate the scrip lets get it working logon to a pc where the log is saved

    4) open up notepad and type in
    copy C:\MyLog.log \\my-server\logs\MyLogs\%computername%_MyLog.log
    if logs are per user you might want to word it
    copy C:\MyLog.log \\my-server\logs\MyLogs\%computername%_%username%_MyLog.log
    remember to change the file and server names to mach your own.
    what this does is to copy the gog file from one place to the other and rename it to inclued the name of the pc it came from

    5)file save as and call the file logcopy.cmd remember the .cmd

    6) goto where you saved the file and run it and see if the file is now saved on the server

    7) post back with how things went and will take you over the next steps and sort any problems you might be having still
  7. Best answer selected by AMBARISH_22.
Ask a new question

Read More

Security Desktops Domain Controller Windows XP