For an application we set registry value howevere not everyone has admin rights hence was looking for some option where we can set the value temporary in bat file.
Tried set command but it didn't work.
set TEST123=DBMSSOCN,cobserver1.nam.nsroot.net,4300
May I know how we can set values of registry temporary in bat file?
Registry when exported looks like below
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\MSSQLServer\Client\ConnectTo]
"TEST123"="DBMSSOCN,cobserver1.nam.nsroot.net,4300"
Setting regsitry values temporary in bat file
Moderator: DosItHelp
Re: Setting regsitry values temporary in bat file
As I understand your question you would like to have some way of changing the registry, but only temporarily, and without permissions to be able to change the registry.
A batch file isn't able to help you, without altering the registry itself - and the solution will probably depend on the actual task being performed.
In other words, there may be a workaround but it can depend on exactly what is being done, and why.
A batch file isn't able to help you, without altering the registry itself - and the solution will probably depend on the actual task being performed.
In other words, there may be a workaround but it can depend on exactly what is being done, and why.