exporting regsitry key - windows 10 asking for credentials?

exporting regsitry key - windows 10 asking for credentials?

JamesMaeding
Advisor Advisor
442 Views
2 Replies
Message 1 of 3

exporting regsitry key - windows 10 asking for credentials?

JamesMaeding
Advisor
Advisor

I made a lisp to export the toolbars section of a profile, and it ran great on my machine (admin rights..).

On my users, they get asked for credentials for statements like: (yes its lisp I know)

(COMMAND "SHELL"  "REGEDIT /a C:\\Temp\\Toolbars-Acad2018.reg HKEY_CURRENT_USER\\SOFTWARE\\Autodesk\\AutoCAD\\R20.0\\ACAD-E001:409\\Profiles\\HA_ACAD2015\\Toolbars")

 

My lisp keeps running past that line, it does not wait, and glitches as the .reg file it expected is not there.

 

Is there some easier way to do that in windows 10?

Its funny to me that I can read and write to HKCU using lisp and .net, but then regedit needs credentials.

 

Must I write my own reg exporter and importer to get around the credentials?

I know I can't get around real restrictions for non-admin login, like HCLM, but it seems stupid the user has to enter the same cred he is logged in with.

Like, if they logged in, they know the password mr windows!


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
443 Views
2 Replies
Replies (2)
Message 2 of 3

hgasty1001
Advisor
Advisor

Hi,

 

Just an idea: use reg.exe and/or regini.exe. some info here: regini

 

Gasty

 

 

 

 

0 Likes
Message 3 of 3

JamesMaeding
Advisor
Advisor

slick, found this post which suggests same:

https://stackoverflow.com/questions/2171431/c-sharp-import-reg-file-to-the-registry-without-user-con...


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes