LOLBAS/OSBinaries/Regedit.md

31 lines
432 B
Markdown
Raw Normal View History

2018-04-24 18:05:42 +00:00
## regedit.exe
* Functions: Write ADS, Read ADS, Import registry
```
regedit /E c:\ads\file.txt:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey
regedit c:\ads\file.txt:regfile.reg
```
Acknowledgements:
* Oddvar Moe - @oddvarmoe
Code sample:
*
Resources:
* https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
Full path:
```
c:\windows\system32\regedit.exe
c:\windows\sysWOW64\regedit.exe
```
Notes: