Jump to content

Get computer name in WinPE


Recommended Posts

My buddy wrote code to do this in WinBatch but I want to port it over to AutoIt. He basically loads the reghive from the local hdd and reads from that. I can't find a way to accomplish loading this hive in AutoIt. Any help would be great. Thanks!

-redfive

Link to comment
Share on other sites

It looks like the same method should work for the SYSTEM hive. Just change the file name to C:\WINDOWS\system32\config\system. Note that you may need to include a "." after the name for the file name to be recognized (e.g., "C:\WINDOWS\system32\config\system.").

I've used the REG.EXE command for this sort of stuff in the past - worked great.

BlueBearrOddly enough, this is what I do for fun.
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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