Jump to content

Create Hidden User


Recommended Posts

I create many user accounts on my server, each account is linked to a network share.

My question is, how can I create accounts that can be logged into over the VPN, that dont show up on the windows login screen?

[center][/center][center]=][u][/u][/center][center][/center]

Link to comment
Share on other sites

in windows 7 i had to manually create the keys in the registry first then write the values into the keys with autoit.

as i could not find a function in autoit to create a key.(and it doesnt seem to properly create them by itself, in Win7 Ult. x64 anyways.)

But how do i also frist create the user using autoit, then hide it?

Edited by IchBistTod

[center][/center][center]=][u][/u][/center][center][/center]

Link to comment
Share on other sites

as i could not find a function in autoit to create a key.(and it doesnt seem to properly create them by itself, in Win7 Ult. x64 anyways.)

I'm using Windows7 Ultimate x64 myself and have no problem writing to the registry.

this line:

RegWrite("HKEY_CURRENT_USER\Software\Test","test1","REG_DWORD","10")

Creates the key "Test" and the value "test1 = 0x0000000a" inside it without a problem.

This is on an administrators account ofcoarse.

Keep in mind that you have to restart regedit, or refresh the treeview for new keys to show up. Collapsing and expanding the parent key does not work. (same goes for keys you delete)

I havn't tried writing to HKU as I don't know what I can do safely.

Link to comment
Share on other sites

the error exists for that specific key only when the two keys are non existent

\SpecialAccounts\UserList.

Hi,

so do 1st a RegRead and look for the return / @error.

Failure: Returns "" and sets the @error flag:

1 if unable to open requested key

2 if unable to open requested main key

Then you can do a RegWrite to write the missing keys. If you have @error 2 you have to do 2 RegWrite's.

See helpfile RegWrite:

Creates a key or value in the registry.

RegWrite ( "keyname" [,"valuename" [, "type" [, value]]] )

;-))

Stefan

Link to comment
Share on other sites

  • 4 years later...

mstogluk,

Do you realize you answered a post dated 5 years ago?

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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