0
Guys I’m trying to record a record inside the HKEY_LOCAL_MACHINE\SYSTEM
and visual studio / visual basic won’t let me have access. It says I’m not allowed to record my record.
My command:
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SYSTEM", "1", &H1I, Microsoft.Win32.RegistryValueKind.DWord)
The mistake:
Thank you to all who can help ; I will share my project here at the end in thanks to the whole community.
Wouldn’t that be a system permission? Visual Studio can’t override the permissions of the user running the service.
– Tiago César Oliveira
So I applied the regedit to everyone and it still doesn’t record . Crazy ; I never saw that .
– Perroni
In the Current_user folder goes normal .
– Perroni
Tried everything here @Tiagocésaroliveira .
– Perroni
Obtain@tiagocésaroliveira was the most permission as I put it straight through the basic look ? Because I can’t tell my user to just go there in a know in which folder and Talz and apply the permission it would have to be given direct by VB .
– Perroni
@Mauriciopeffoni this is a windows user permission, it cannot be programmatically set...
– Tiago César Oliveira
Kick from a non-specialist in the field: and if you run your executable (your compiled program) as the machine administrator, it records?
– bfavaretto