Jump to content

Recommended Posts

Posted

Does anybody has already a script to mount the userprofiles ?

I want a function like regread and regwrite for the userprofiles.

They can be found in this location HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

With reg.exe they can me mounted and then you can change the settings.

Posted

If this is for WinPe or Bartpe cd took a look to Registry Editor Pe. The .cab file include au3 source code, you may have to do some changes but I will get you start it. Triton script will load the user profile (ntuser.dat) into registry then you will able to use RegRead or RegWrite from autoit.

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Posted (edited)

@danny35d

It is for a real windows xp environement so file is in use.

Does anybody know how todo that with the dll -> advapi32.dll functions

-> RegConnectRegistryA

-> RegOpenKeyA

-> RegEnumKeyA

-> RegCloseKey

Any script guru is welcome !

Edited by FeReNGi
Posted

  FeReNGi said:

@danny35d

It is for a real windows xp environement so file is in use.

Does anybody know how todo that with the dll -> advapi32.dll functions

-> RegConnectRegistryA

-> RegOpenKeyA

-> RegEnumKeyA

-> RegCloseKey

Any script guru is welcome !

If is in real windows it is basically the same think as winpe with the exception of the logon user.

Beside the logon user you can load any other user profile ntuser.dat as a hive using reg.exe and for the logon user you can change the HKEY_CURRENT_USER.

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Posted (edited)

  Danny35d said:

Beside the logon user you can load any other user profile ntuser.dat as a hive using reg.exe and for the logon user you can change the HKEY_CURRENT_USER.

Current user is not possible because i run in another session as admin and current user is admin.

Therefore i am looking for a way to edit the userprofiles of the current logged on user an all other user.

Also reg.exe doesn't exist on windows 2000. Thats why i have found above functions.

Edited by FeReNGi
Posted

  FeReNGi said:

Current user is not possible because i run in another session as admin and current user is admin.

Therefore i am looking for a way to edit the userprofiles of the current logged on user an all other user.

Also reg.exe doesn't exist on windows 2000. Thats why i have found above functions.

That is my point, if you login as admin you will abel to read this key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList as you mention on your first post, then user reg.exe to load ntuser.dat. for the user profiles.

If I don't mistaken Reg.exe is part of Win2k Sp4. If not you can download from M$ Win2K Sp4 Support Tools and add it to your script with FileInstall().

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

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...