# HG changeset patch # User moel.mich # Date 1274209933 0 # Node ID 41dc766e28b8e5509ea6a948bf306d02937ff77e # Parent 4ca4621553aafebf718b114111afa70b05958793 Fixed Issue 60. diff -r 4ca4621553aa -r 41dc766e28b8 GUI/StartupManager.cs --- a/GUI/StartupManager.cs Sat May 15 15:52:08 2010 +0000 +++ b/GUI/StartupManager.cs Tue May 18 19:12:13 2010 +0000 @@ -66,8 +66,12 @@ startup = task != null; } catch (IOException) { startup = false; + } catch (UnauthorizedAccessException) { + scheduler = null; } - } else { + } + + if (scheduler == null) { RegistryKey key = Registry.CurrentUser.OpenSubKey(REGISTRY_RUN); startup = false; if (key != null) {