Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is this a harmful .bat file?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
thegaiacheater
Grandmaster Cheater
Reputation: -1

Joined: 01 Nov 2008
Posts: 882

PostPosted: Thu Mar 19, 2009 1:52 am    Post subject: Is this a harmful .bat file? Reply with quote

i was looking through my system32 and a found a file named usrlogon.bat i right click and click edit and here is what is in it:

Code:
@Echo Off

Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
If "%_SETPATHS%" == "FAIL" Goto Done

Rem
Rem This is for those scripts that don't need the RootDrive.
Rem

If Not Exist "%SystemRoot%\System32\Usrlogn1.cmd" Goto cont0
Cd /d "%SystemRoot%\Application Compatibility Scripts\Logon"
Call "%SystemRoot%\System32\Usrlogn1.cmd"

:cont0

Rem
Rem Determine the user's home directory drive letter.  If this isn't
Rem set, exit.
Rem

Cd /d %SystemRoot%\"Application Compatibility Scripts"
Call RootDrv.Cmd
If "A%RootDrive%A" == "AA" End.Cmd

Rem
Rem Map the User's Home Directory to a Drive Letter
Rem

Net Use %RootDrive% /D >NUL: 2>&1
Subst %RootDrive% "%HomeDrive%%HomePath%"
if ERRORLEVEL 1 goto SubstErr
goto AfterSubst
:SubstErr
Subst %RootDrive% /d >NUL: 2>&1
Subst %RootDrive% "%HomeDrive%%HomePath%"
:AfterSubst

Rem
Rem Invoke each Application Script.  Application Scripts are automatically
Rem added to UsrLogn2.Cmd when the Installation script is run.
Rem

If Not Exist %SystemRoot%\System32\UsrLogn2.Cmd Goto Cont1

Cd Logon
Call %SystemRoot%\System32\UsrLogn2.Cmd

:Cont1

:Done


so is this harmful?
Back to top
View user's profile Send private message
darkex
I post too much
Reputation: 0

Joined: 29 Aug 2008
Posts: 2006
Location: Australia

PostPosted: Thu Mar 19, 2009 2:13 am    Post subject: Reply with quote

I don't see why you would need it...
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Thu Mar 19, 2009 3:20 am    Post subject: Reply with quote

darkex wrote:
I don't see why you would need it...


Don't delete, its made by Microsoft *in lame and drawn out voice*

_________________
Back to top
View user's profile Send private message Send e-mail
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Mar 19, 2009 6:10 am    Post subject: Reply with quote

what does call do? is it a link or a include?
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
thegaiacheater
Grandmaster Cheater
Reputation: -1

Joined: 01 Nov 2008
Posts: 882

PostPosted: Thu Mar 19, 2009 10:33 pm    Post subject: Reply with quote

Naablet wrote:
what does call do? is it a link or a include?


heck if i know O.o
Back to top
View user's profile Send private message
Fantasy
I post too much
Reputation: 13

Joined: 29 Jul 2007
Posts: 3113

PostPosted: Fri Mar 20, 2009 1:43 pm    Post subject: Reply with quote

It's not harmfull ..
Back to top
View user's profile Send private message
Farr.
Grandmaster Cheater
Reputation: 0

Joined: 11 Aug 2008
Posts: 749

PostPosted: Fri Mar 20, 2009 2:16 pm    Post subject: Reply with quote

if its in your system32 I don't see why you would ever delete anything from it
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Fri Mar 20, 2009 2:33 pm    Post subject: Reply with quote

"call" is like ShellExcute or CreateProcess.. :}

this very well could be harmful, because most virus's store there executable's in system32 folder.. so just assuming everything in there is "safe" is a very bad idea..

in order to really understand if its safe or not i would upload UsrLogon.cmd to a online virus scanner :] or learn asm and reversing and reverse the file yourself Smile

regards BanMe

_________________
don't +rep me..i do not wish to have "status" or "recognition" from you or anyone.. thank you.
Back to top
View user's profile Send private message MSN Messenger
Luigi
Grandmaster Cheater Supreme
Reputation: 1

Joined: 24 Mar 2008
Posts: 1082

PostPosted: Fri Mar 20, 2009 9:15 pm    Post subject: Reply with quote

Not harmful
Read it word for word, symbol for symbol.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites