Jump to content

Recommended Posts

Posted

Can someone please help me.... Not sure what it does and/or what it is used for. Is it supposed to be on my computer? Is it a system file?

What are these .bat file for?

@echo off

REM this will be executed during cmdlines.txt time.

cd\

if not exist C:\hp\bin\WaitandDelete.jse goto end

if exist %AppDir% WScript C:\hp\bin\WaitandDelete.jse %AppDir% /wait:1 //b

if exist %CurDir% WScript C:\hp\bin\WaitandDelete.jse %CurDir% / wait:1 //b

:end

ALSO have another "install.bat" file

REM @ECHO OFF

REM remove the audit mode setting from oobeinfo.ini

Python %AppDir%\TurnOffAudit.py

REM Remove Fullscreen from firstboot.txt

C:\HP\BIN\AUTOMODE32 /REMOVE c:\hp\bin\FirstBoot.TXT "c:\hp\bin\FullScreen.exe close

C:\HP\BIN\AUTOMODE32 /REMOVE c:\sysprep\i386\$OEM$\CMDLINES.TXT

"c:\hp\bin\Fullscreen.exe close

REM Add a line to cmdlines.txt

C:\HP\BIN\AUTOMODE32 add c:\hp\bin\FirstBoot.txt ""C:\hp\bin\cloaker.exe

C:\hp\bin\commands /lw:c\hp\bin\cleanup_bb\lg.ini /c /ww

C:\hp\bin\cleanup_bb\cleanup_bb.bat""

C:\HP\BIN\AUTOMODE32 /add c:\sysprep\i386\$OEM$\CMDLINES.TXT ""C:\hp\bin\cloaker.exe

C:\hp\bin\commands /lw:c:\hp\bin\cleanup_bb\lg.ini /c /ww

C:\hp\bin\cleanup_bb\cleanup_bb.bat""

REM finish up by appending the command for closing the full screen

C:\HP\BIN\AUTOMODE32 / ad c:\hp\bin\firstboot.TXT ""c:\hp\bin\FullScreen.exe close""

C:\HP\BIN\AUTOMODE32 / add c:\sysprep\i386\$OEM$\CMDLINES.TXT

""c:\hp\bin\FullScreen.exe close""

REM rename oobe.bb to oobe.bat

ren c:\sysprep\oobe.bb c:\sysprep\oobe.bat

I am going crazy :wacko: trying to figure this out. I always get wary when I see cloaker.exe. I thank you so much!

Kris


Posted

Just HP automating your windows install, nothing to worry about.

If you look in the msfn unattended guide section, you can see how it works.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...