Giter Site home page Giter Site logo

priv10's People

Contributors

davidxanatos avatar leumasme avatar udev2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

priv10's Issues

Full access might be a bit too encompassing ?

I suggest "Full access Outbound only" additional quick rule ?
or just shortened to "Outbound access" or "Outbound full"
e.g. a browser probably doesn't need an inbound access
and so on...

Thanks.

unable to start service for v0.73+ (and probably lower versions)

Hi David,

excellent software. Finally a way to edit firewall rules easily. Thank you!.

Have the following problems which has effectively preventing it from running. Wondering if you have any ideas on how to get the service running. Windows 10 may 1909 - build 18363 (may 1909). Installed .NET framework 3.5 and worked one time then stopped working.

  • have tried adjusting permissions to full control within program files

  • have tried in a C:\temp\PrivateWin10

  • tried running from console and administrator in multiple locations with permissions above.

  • installed .NET framework 3.5 and it worked fine once. rebooted and same problem.

  • is there some user data file under Appdata or ProgramData which perhaps needs to be removed?

The following is for version 0.73 which is before the improvements for services.


When launched without administrator console but allowing YES to the UAC prompt to grant admin priveleges, the following is output.

C:\Program Files\SECURITY\PrivateWin10>PrivateWin10.exe

C:\Program Files\SECURITY\PrivateWin10>Portable Mode
Config Directory: C:\Program Files\SECURITY\PrivateWin10\Data
Log: PrivateWin10 Process Started, Mode Normal.
Trying to connect to Engine...
Trying to obtain Administrative proivilegs...
Trying to start with 'runas'...

(no more info), executable terminates.

Interestingly the GUI launches and it is run when administrator permissions are DENIED and the log reports the following which I guess would prevent effective application of many features of PrivateWin10.

C:\Program Files\SECURITY\PrivateWin10>Portable Mode
Config Directory: C:\Program Files\SECURITY\PrivateWin10\Data
Log: PrivateWin10 Process Started, Mode Normal.
Trying to connect to Engine...
Trying to obtain Administrative proivilegs...
Trying to start with 'runas'...
Log: TweakManager loaded 183 entries
Your copy of this application is not activated
Log: Exception in RemoteExec: Connection Failed
Log: Exception in RemoteExec: Connection Failed
Log: Exception in TestRegistryTweak: Requested registry access is not allowed.
Log: Tweak Disable AutoLogger-Diagtrack-Listener from Disable Telemetry is not applied!
TestAllTweaks took: 5088ms

(the GUI is then launched, but obviously does not have appropriate permissions).


Finally, if a console is opened with administrative priveleges and run the following is given.

C:\Program Files\SECURITY\PrivateWin10>Portable Mode
Config Directory: C:\Program Files\SECURITY\PrivateWin10\Data
Log: PrivateWin10 Process Started, Mode Normal.
Trying to connect to Engine...
Log: TweakManager loaded 183 entries
Starting Engine Thread...
Engine Thread Running
Loading program list...
Starting firewall monitor...
Starting firewall guard...
Initializing app manager...
Loading Windows Firewall rules...
Assigning Firewall rules...
Starting Process Monitor...
Log: Failed to initialized ProcessMonitorEtw
Starting Network Monitor...
Log: Failed to initialized NetworkMonitorETW
Setting up IPC host...
Private Win10 Engine started.
... engine started.
Starting engine timer...
Your copy of this application is not activated

Unhandled Exception: System.Runtime.InteropServices.COMException: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

at NETWORKLIST.NetworkListManagerClass.GetNetworks(NLM_ENUM_NETWORK Flags)
at PrivateWin10.NetworkMonitor.UpdateNetworks() in F:\Projects\Windows10_Tools\PrivateWin10\PrivateWin10\Core\NetworkMonitor.cs:line 426
at PrivateWin10.Priv10Engine.OnTimerTick(Object sender, EventArgs e) in F:\Projects\Windows10_Tools\PrivateWin10\PrivateWin10\Core\Priv10Engine.cs:line 258
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at PrivateWin10.Priv10Engine.Run() in F:\Projects\Windows10_Tools\PrivateWin10\PrivateWin10\Core\Priv10Engine.cs:line 224
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Please note that I have also tried installing the setup installation versions as well as uninstalling and installing the services via the -svc_remove and -svc_install switches too with same issue. As well as attempting to manually start services.

error: 1067 - the service terminated unexpectedly.

Have tried running it under Windows 8 compatability mode too.

[Feature Request]Incoming Rules popup agreement

Hi
nice piece of software you have there

Is there a way to configure private win10 to have popups with the ability to allow or disallow new rules creations when some other program attempts to insert their own rules in the firewall
Currently and as far as I know you can only deny them altogether or get notifications about them ?

mostly it's steam games spamming rules changes
additionally is it possible to have the "source" of the asked rule change ?

For a bit more context, I installed win10 not so long ago (but kept win7 as dual boot)
and win7 had popups for incoming firewall connections
What I'd like is pretty much that behavior.
e.g. I don't want rule changes behind my back, but I don't want to forbid them altogether

IDEA : maybe it could be possible for Privatewin10 to disable the new rules by default & then provide a notification as to whether the user wants to enable them back ?

Thank you very much.

Local Security Authority Process : Select Service ?

hi,
I tried searching and found nothing

it's the only new connection popup with a "Select Service" Prompt

which I don't really know what it relates to :

the options are Kelso , SamSS , VaultSvc

I have devised that it sometimes go fetch certificates online, so I think I should let him do its thing but never know which of the service to choose.

Thanks.

PS: love the 0.75 update, thank you very much.

priv10 service & startup

Hello program seems well made thanks
but when i try to add priv10 service. the program crashes and the startup box seems have no effect because i need to run it mannually with Administrator previlege everytime i start laptop im using w10 pro 64x last version january update

Thanks

Text mistake during Setup

Hello,

I think the following text is wrong : "Instalaltion Options". It's displayed during the Setup :
image.
The correct text would be "Installation options".

Sincerely,

[issue]privatewin10 firewall rules window & high cpu usage, freeze

hi,
so I'm not sure exactly what are the triggers for this :
-I'm in the firewall rules window doing stuff, the exact thing I'm doing can be as simple as scrolling around
and then privatewin10 window freezes & stop responding
-task manager shows about 50% cpu usage, process explorer shows 33%
(that's with an i7-2600k)
-and then I have to kill the program

if you want me to do anything just tell me

Unhandled Exceptions: AccessViolationException and NullReferenceException

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at System.String.wcslen(Char*)
   at System.String.CtorCharPtr(Char*)
   at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr)
   at IPHelper+ModuleInfo..ctor(TCPIP_OWNER_MODULE_BASIC_INFO)
   at IPHelper+MIB_UDPROW_OWNER_MODULE.get_Module()
   at PrivateWin10.NetworkMonitor.UpdateSockets()
   at PrivateWin10.Priv10Engine.OnTimerTick(System.Object, System.EventArgs)
   at System.Windows.Threading.DispatcherTimer.FireTick(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at PrivateWin10.Priv10Engine.Run()
   at PrivateWin10.Priv10Service.Run()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()
Faulting application name: PrivateWin10.exe, version: 0.75.0.2, time stamp: 0xd7585d48
Faulting module name: mscorlib.ni.dll, version: 4.8.4180.0, time stamp: 0x5e7d20d3
Exception code: 0xc0000005
Fault offset: 0x00000000013296ec
Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
   at PrivateWin10.Controls.ProgTreeRoot.UpdateProgSets(System.Collections.Generic.List`1<PrivateWin10.ProgramSet>)
   at PrivateWin10.Pages.FirewallPage.UpdateProgramItems(System.Collections.Generic.List`1<PrivateWin10.ProgramSet>)
   at PrivateWin10.Pages.FirewallPage.OnTimerTick(System.Object, System.EventArgs)
   at System.Windows.Threading.DispatcherTimer.FireTick(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at PrivateWin10.App.Main(System.String[])
Faulting application name: PrivateWin10.exe, version: 0.75.0.2, time stamp: 0xd7585d48
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00007ff8d0bb81e1

NullReferenceException raised 40 seconds after AccessViolationException, not sure if they are dependent each other. And I dont know when they occur, one guess is intensive traffic by application/rule not configured yet.

[Suggestion]Firewall Duplicate Finder

not a huge deal
but something I thought of

an option to find duplicate rules
example : opera changes its executable location each update, and therefore new rules keep getting created...

the way I see it :
0 - the program creates a list of all dupes
1 - click on some "Duplicate find" button
2 - it displays the very first occurence of a duplicate found & all associated duplicates
3 - do something about it or not
4 - click "next duplicate"
5 - the program moves down in the list of duplicates it built earlier

Solved bug in using port number ranges

Hello David,

first a big 'thank you' for your PrivWin10 and WuMgr software!

In the software 0.75b is a bug when you try to use port number ranges like "80,1000-1050".
The user input is checked for the right-syntax, but saving the rule is not correct.
When the rule is loaded again, the given range ist lost, like "80,0" or a complete empty field.

I loaded your sourcecode and after a while I managed it to compile a release version, but I did not get a working debug version compiled. But after a while of try and error changes, I found the error:

Source file: PrivateWin10\Core\WindowsFirewall\WinNetFwAPI.cs

Function: private static FW_PORTS MakePortsArray(string portsStr, ref List handles)

old line 788: if (ushort.TryParse(portStr, out begin) && ushort.TryParse(portStr, out end))
new line 788: if (ushort.TryParse(portRange[0], out begin) && ushort.TryParse(portRange[1], out end))

and maybe another error in the same function (the variable portList is not used in the context):

old line 841: ports.Ports.dwNumEntries = (ushort)portList.Count;
new line 841: ports.Ports.dwNumEntries = (ushort)portRanges.Count;

I know, this is not the usual way to help, but I didn't get VisualStudio 2017 and GIT working for your project.
I'm an older 'selfmade' programmer, started with assembler in the 1980s and then 30 years of programming in the industry.
But I have learned to hunt bugs in many program languages.
So if you give tips, how to setup the compiler, I like to help you hunting bugs and closing memory leaks.
But I can't add functions or modules because I never learned newer program languages.

Sniko

missing or not recognized strings (for translating)

following strings are missing (primarily) or not recognized if translated

  • Operation Status
  • Windows Firewall
  • Firewall status:
  • Rule Guard:
  • Privacy Option
  • Tweak Guard:
  • Privacy Log
  • TweakManager loaded X entries
  • PrivateWin10 Process Startet, Mode X
  • ProgramList loaded X entries
  • priv10 Service starting
  • priv10 Service stoppen...
  • Show All Columns
  • Disable Sorting
  • Ico

For now i found the above entries. possibly more missing or not recognized.

[bug] file access blocking does not reverse

  • app v 0.1g
  • W 10 Pro x_64 v 1809 b 1776.379

Having used the app switch to disable SearchUI.exe the action/settings could not be reversed in the app's UI and the binary remained inaccessible until manually having removed the respective security descriptor.

Not sure whether bears any relevance but it would that be a typo:

SID_Worls as opposed to SID_World?

Any usage guide?

It would be great to have at least small doc what is this tool for and how to use it.

It consumes 150MB of memory at start and grows and I'm a bit confused if this app must be active to block new connections?
What is priv10 service?
Tweak guard? Monitors for changes made by windows and allows to reapply to configured by me? Again, must app be active at that moment or does service monitor it?
Audit Policy (should be set to All)? There is no such option All :)

I've downloaded zip archive, not installer and tried to run it. As I see it's only "portable" if run in user mode, but if in administrator mode it saves data to ProgramData.

Or how do you use this nice tool?
Thanks

AppXp Tasks tweak getting undone on Win 10 2004

This is the error message I'm receiving:

Tweak Disable Application Experience from Disable Application Experience is not applied

Re-applying the tweak results in the same message some time later.

Priv10 keeps crashing

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at Windows.ApplicationModel.Package.get_InstalledLocation()
   at AppManager.GetAppResourceStr(System.String)
   at System.Windows.Threading.DispatcherOperation`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan)
   at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.__Canon>, System.Windows.Threading.DispatcherPriority, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.__Canon>)
   at PrivateWin10.Priv10Host.Process(PipeIPC.RemoteCall)
   at PipeIPC.PipeHost+<>c__DisplayClass7_0.<AddListener>b__0(System.Object, Byte[])
   at PipeIPC.IPCStream`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].recvProc()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

===

Faulting application name: PrivateWin10.exe, version: 0.75.0.2, time stamp: 0xd7585d48
Faulting module name: KERNELBASE.dll, version: 10.0.19041.388, time stamp: 0x3cc24707
Exception code: 0xe0434352
Fault offset: 0x0000000000023e49
Faulting process id: 0x1be0
Faulting application start time: 0x01d665566b06be3c
Faulting application path: C:\Apps\PrivateWin10\PrivateWin10.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll`

Recent inability to run application

After using the application successfully for many months, application does not run after the latest .NET update (though it may be "post hoc propter hoc" on my part). It does run on another PC with the same setup/security/privacy settings.

Event log:

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at PrivateWin10.Priv10Engine.LoadFwRules()
at PrivateWin10.Priv10Engine.Run()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Access with password or pin slowly

Hi,
I have a problem: I have enabled all the options in the program. Now, when I access the PC with pin or password, the bar for inserting the pin takes some time as once the pin has been inserted and pressed enter, this is not received instantaneously. This did not happen before. What option can this problem be linked to?
Thank you_

Crashes at launch [v0.72]

Faulting application name: PrivateWin10.exe, version: 0.72.0.0,
Faulting module name: KERNELBASE.dll, version: 10.0.18362.418,
Exception code: 0xe0434352
Fault offset: 0x000000000003a839

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.

Exception Info: System.NullReferenceException
at PrivateWin10.Controls.ProgramListControl.g__DoSort|15_0(PrivateWin10.ProgramControl, PrivateWin10.ProgramControl)
at System.Collections.Generic.ArraySortHelper1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].PickPivotAndPartition(System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>)
at System.Collections.Generic.ArraySortHelper1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].IntroSort(System.__Canon[], Int32, Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>)
at System.Collections.Generic.ArraySortHelper1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].IntrospectiveSort(System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>)
at System.Collections.Generic.ArraySortHelper1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Sort(System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>)

Exception Info: System.InvalidOperationException
at System.Collections.Generic.ArraySortHelper1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Sort(System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>)
at System.Array.Sort[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon[], Int32, Int32, System.Collections.Generic.IComparer1<System.__Canon>) at System.Collections.Generic.List1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Sort(System.Comparison1<System.__Canon>) at PrivateWin10.Controls.ProgramListControl.SortAndFitlerProgList() at PrivateWin10.Controls.ProgramListControl.UpdateProgramList(System.Collections.Generic.List1<PrivateWin10.ProgramSet>)
at PrivateWin10.Pages.FirewallPage.SetTreeMode()
at PrivateWin10.Pages.FirewallPage.SetViewMode(ViewModes)
at PrivateWin10.Pages.FirewallPage..ctor()
at PrivateWin10.MainWindow..ctor()
at PrivateWin10.App.Main(System.String[])

Cross Device Experience (policy)

This is not an issue with your app handling of this policy.. rather the policy itself, and I'm posting it here in case others experience the same issue.

On my PC (and a similarly configured virtual machine) Cross Device Experience (Continue experiences on this device policy) brakes the Start Menu. Enabling this policy causes the system to reset Start Menu layout (settings, tiles and bottom-left pinned items) on startup/reboot.

This could be specific to my case due to various other settings I apply to my OS. But it could also be that the implications of this policy go beyond the scope of the rather vague description MS gives for it.

Slight Issue with software installations & random temporary executables

Hi
there is workarounds so it's not a huge issue
some software installs/setups will create randomly placed (in temporary directories) executables for their installation procedure and will cancel immediately if they don't have internet access

YES, I agree : what were they thinking ? LOL

Alas the situation exist, solution is to either launch the temp executable yourself if it still exists,
OR if it does not (software deleted it before terminating itself) then solution is to temporarily open the firewall outbound ....

So unless you have a magic idea to deal with those situations (I don't LOL)
I think it would be great if we could have
"Open Internet for x minutes" or something like that
directly from rightclicking the icon, along the two existing options of "Block Internet" & "Exit"

Again, thank you very much for this piece of software.

crash

if I make new category for program. Private WinTen close and dissapear from tasbar to..

Run again and category was saved..

[Feature Request]Legend for colors

hello,
simply put can we have a legend somewhere to explain the meanings of the colors in Firewall rules
e.g. orange, pink...
(grayed out is self explanatory since all those rules are disabled although that could be in a legend as well)

Thanks for the awesome program.

custom window, default improvement

When the software is configured in whitelisting mode,
the custom window could default to "allow" which would save a few clicks
As their is basically no reason to "block the connection" since you could instead
use the "BLOCK ACCESS" rule or just ignore it which will block the connection anyway in whitelisting mode

Thanks.

Unable to undo BlockFile tweaks

Under search & cortana if searchui.exe is disabled it cannot be re-enabled (Switched to off). Same with smartscreen, and I assume all blockfile tweaks.

I am running .exe in admin mode.

Win 10 x64 v1809

Please inform how to manually undo blockfile tweak.

[bug] empty connection log after boot

  • app v 0.1g
  • W 10 Pro x_64 v 1809 b 1776.379

with the below settings the connection log is empty upon boot. Switching the filter mode to white the connection logs starts showing

Annotation 2019-03-16 220503

Installed the app. When I went to run, the app wouldn't open. Event Viewer: "Exception in RemoteExec: Pipe Broke!"

Haven't used this app before. But I went to install it and it seemed to install without an issue. But when I went to run the app, the app wouldn't open. So I went into Event Viewer and there is an addition to "Applications and Services Log" called "PrivateWin 10". There are several entries, of what I can now gather are from me trying to start it.
Here are the first 4 logs starting from the bottom (I would assume all of the others are the same. Due to me attempting to start the app a few times)

  1. (From bottom): Information: PrivateWin10 Process Started, Mode Normal.
  2. (From Bottom): Information: PrivateWin10 Process Started, Mode Service.
  3. (From Bottom): Information: priv10 Service starting
  4. (From Bottom):
    Error: Exception in RemoteExec: Pipe Broke!
  5. Full Error details in "Details" from number 4:
Log Name:      PrivateWin10
Source:        PrivateWin10
Date:          5/22/2020 1:53:19 PM
Event ID:      1
Task Category: (256)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-DP6PD8M
Description:
Exception in RemoteExec: Pipe Broke!
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="PrivateWin10" />
    <EventID Qualifiers="0">1</EventID>
    <Level>2</Level>
    <Task>256</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2020-05-22T20:53:19.130003300Z" />
    <EventRecordID>4</EventRecordID>
    <Channel>PrivateWin10</Channel>
    <Computer>DESKTOP-DP6PD8M</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Exception in RemoteExec: Pipe Broke!</Data>
    <Data>Exception</Data>
    <Data>System.Exception: Pipe Broke!
   at PipeIPC.PipeClient.PipeConnector.RemoteExec(String fx, Object args) in F:\Projects\PrivateWin10\PrivateWin10\PrivateWin10\Common\PipeIPC\PipeClient.cs:line 92
   at PipeIPC.PipeClient.RemoteExec[T](String fx, Object args, T defRet) in F:\Projects\PrivateWin10\PrivateWin10\PrivateWin10\Common\PipeIPC\PipeClient.cs:line 155</Data>
  </EventData>
</Event>

Notifications Window Woes

I've been experiencing the following problem with the Notifications Window:

  • Both position and size reset whenever a new notification is triggered, even while editing rules
  • The window stays on top at all times, even while editing rules, so you can't see most of the Rule Editing Dialog
  • Slowness and unresponsiveness peaks while editing rules

Turn off MSDT switch

In version 0.1g the Turn off MSDT switch does the opposite to intended.

DisableQueryRemoteServer = 1 enables this policy, which is the equivalent to not configured.

See 'Turn on MSDT interactive communication with support provider' policy description.

Priv10 doesn't launch when Windows Defender Firewall service is disabled

Dear Xanatos,

First of all, thank you so much for making such great software (I'm a big fan of WuMgr !) !

I use simplewall by Henry++ so the firewall management part of Priv10 is not useful in my case, and I noticed that Priv10 doesn't start when Windows Defender Firewall (mpssvc) service is disabled.

Could you please enable it to launch when the firewall service is disabled so we can use the privacy tweaks anyway ?

Best regards

Program doesn't run, crash logs in event viewer

Latest updates on LTSC .net 4.7.2, maybe a kernel/.net issue?

Log Name: Application
Source: Application Error
Date: 20/10/2019 11:43:23 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: DESKTOP-P3LEOMP
Description:
Faulting application name: PrivateWin10.exe, version: 0.1.8.0, time stamp: 0x5cc99bfe
Faulting module name: KERNELBASE.dll, version: 10.0.17763.831, time stamp: 0xaae01d9e
Exception code: 0xe0434352
Fault offset: 0x0000000000039129
Faulting process id: 0x6a0
Faulting application start time: 0x01d58743f53f50fd
Faulting application path: C:\stuff\PrivateWin10.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: e976fb9c-d2f9-4822-ac90-6bec16fde789
Faulting package full name:
Faulting package-relative application ID:
Event Xml:



1000
2
100
0x80000000000000

14544
Application
DESKTOP-P3LEOMP



PrivateWin10.exe
0.1.8.0
5cc99bfe
KERNELBASE.dll
10.0.17763.831
aae01d9e
e0434352
0000000000039129
6a0
01d58743f53f50fd
C:\stuff\PrivateWin10.exe
C:\Windows\System32\KERNELBASE.dll
e976fb9c-d2f9-4822-ac90-6bec16fde789






Log Name: Application
Source: .NET Runtime
Date: 20/10/2019 11:43:23 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DESKTOP-P3LEOMP
Description:
Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
at Windows.Management.Deployment.PackageManager.FindPackages()
at AppManager.LoadApps()
at PrivateWin10.Engine.Run()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Event Xml:



1026
2
0
0x80000000000000

14543
Application
DESKTOP-P3LEOMP



Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
at Windows.Management.Deployment.PackageManager.FindPackages()
at AppManager.LoadApps()
at PrivateWin10.Engine.Run()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

(bug) Group policy settings for MSDT and IE CEIP

Your settings seem to point to registry for these 2 which has confusing meanings. When pressed via your program, both of these are actually enabled, showing up in group policy.

The correct Group policy settings for the following are:
Under Admin templates, system, troubleshooting and diagnostics, Microsoft Support Diagnostic Tool
*Microsoft Support Diagnostic Tool: Turn on (MSDT) interactive communication with the support provider. <--- disable

Under Admin templates, windows components, Internet explorer:
*Prevent participationin the Customer Experience Improvement Program (CEIP) <------ enabled

ArgumentOutOfRangeException

Hi,

I have seen the error event in my event viewer. Event Id was 1026. you might need to have look at it.

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
   at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32)
   at PrivateWin10.Controls.ConnectionNotify.PopEntry()
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at PrivateWin10.App.Main(System.String[])

"Setup file is corrupted"

PrivateWin10-Setup-v0.75b.exe
7A6B6F98010209C5EB8D573A947C6C388FC84A18BE59A765D7379E10935DC39A

image

Anything to check prior to firing-up radare?

System.NullReferenceException

double-click in "Connection_Notification_Window" causes MS .NET_Framework exception :

Connection_Notification_Window__MS NET_Framework_Exception(on mouse doubleclick on row)

************** Text výjimky **************
System.NullReferenceException: Odkaz na objekt není nastaven na instanci objektu.
v PrivateWin10.App.TrayAction(Object sender, TrayEventArgs args) v F:\Projects.......\App.xaml.cs:řádek 492
v System.Windows.Forms.NotifyIcon.OnDoubleClick(EventArgs e)
v System.Windows.Forms.NotifyIcon.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
v System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

v0.60 unusable

  • on a W10 Pro x_64 v1909 node the app's firewall implementation blocks all outbound traffic, never mind which setting is applied.

  • the service does not stop (unresponsive)

Annotation 2019-11-30 125041

  • firewall rules are not being deleted

Crashes at launch [v0.75]

Event ID 1026

Application: PrivateWin10.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.

Exception Info: System.Runtime.InteropServices.SEHException
   at <Module>._CxxThrowException(Void*, _s__ThrowInfo*)
   at <Module>.krabs.error_check_common_conditions(UInt32)
   at <Module>.krabs.details.trace_manager<krabs::trace<krabs::details::kt> >.unregister_trace(krabs.details.trace_manager<krabs::trace<krabs::details::kt> >*)
   at <Module>.krabs.details.trace_manager<krabs::trace<krabs::details::kt> >.register_trace(krabs.details.trace_manager<krabs::trace<krabs::details::kt> >*)
   at <Module>.krabs.details.trace_manager<krabs::trace<krabs::details::kt> >.start(krabs.details.trace_manager<krabs::trace<krabs::details::kt> >*)
   at Microsoft.O365.Security.ETW.KernelTrace.Start()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

Event ID 1000

Faulting application name: PrivateWin10.exe, version: 0.75.0.0
Faulting module name: KERNELBASE.dll, version: 6.1.7601.24520
Exception code: 0xe06d7363
Fault offset: 0x000000000000b87d

Faulting application path: C:\Program Files\PrivateWin10\PrivateWin10.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll

Event ID 1

Exception in IsServiceEnabled: Object reference not set to an instance of an object.

Event ID 7034

The Private Win10 service terminated unexpectedly. It has done this 1 time(s).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.