OpenWrt Project: Prosody XMPP Server (open messaging protocol)

Renew the SSL certificate Not required if SSL stuff was not installed, Ex.: 4 MiB installation. Same old key used for brevity, some RTFM required for completeness. cd /tmp scp root@routerlogin.net:/etc/prosody/certs/localhost.[ck]e* . openssl req -new -x509 -days 365 -nodes -out “localhost.cert” -key “localhost.key” scp localhost.[ck]e* root@routerlogin.net:/etc/prosody/certs/

Source: OpenWrt Project: Prosody XMPP Server (open messaging protocol)

How to start tmux with attach if a session exists – Unix & Linux Stack Exchange

The answer is much simpler. Just put this in your ~/.tmux.conf file: # if run as “tmux attach”, create a session if one does not already exist new-session -n $HOST If you run tmux attach and there is a session, then it will attach to that session (whether it’s already attached or not). If there is not a session already then it will create one for you.

Source: How to start tmux with attach if a session exists – Unix & Linux Stack Exchange

Displaying, running, and stopping scheduled tasks with PowerShell

Scheduled tasks represent the central mechanism for executing programs at certain times or events. Since PowerShell 3.0 you can manage scheduled tasks with several cmdlets.

Wolfgang Sommergut

Wolfgang Sommergut has over 20 years of experience in IT journalism. He has also worked as a system administrator and as a tech consultant. Today he runs the German publication WindowsPro.de.

A freshly installed Windows already comes with a variety of pre-defined tasks for system maintenance. Important services such as the virus scanner, the backup program, and Windows Update depend on them.

Active Directory Management, Automated Provisioning, Delegation, Self-Password Reset

Download Adaxes now!Ad

Analyzing existing tasks ^

Over the course of time, third-party applications add more and more tasks usually used for automatically downloading updates. However, it is not always optimal if every unimportant tool continuously runs its own update service.

PowerShell is often more efficient than GUI programs if you want to analyze and change the settings and data of system components. Even though the Windows Task Scheduler supports all available task features, navigating through the numerous tabs is sometimes time-consuming.

Displaying scheduled tasks with Get-ScheduledTask ^

If you want to get an overview of the task states and authors, Get-ScheduledTask offers help. If you run the cmdlet without parameters, it displays all available tasks with their properties TaskPathTaskName, and State.

TaskPath provides information about the tasks’ position in the Task Scheduler’s tree structure. You need the task location to access its details. Possible State values are ReadyRunning, and Disabled.

Displaying task location and status with Get ScheduledTask

Displaying task location and status with Get ScheduledTask

For instance, to display all disabled Tasks, you have to execute this command:

Get-ScheduledTask allows you to restrict the query with the help of TaskName and TaskPath whereby both parameters support wildcards.

Reading task details ^

If you need detailed information for a particular task, the Get-ScheduledTaskInfo cmdlet is useful. It will give you details such as the time since the last start, the number of missed runs, and the result of the last run.

Because Get-ScheduledTaskInfo requires you to specify TaskPath, it is easier if you call Get-ScheduledTask with the task’s name and then pass the result to Get-ScheduledTaskInfo:

Get ScheduledTaskInfo provides details for scheduled tasks

Get ScheduledTaskInfo provides details for scheduled tasks

You can also use the information that Get-ScheduledTaskInfo provides to filter certain tasks:

This command displays all tasks with missed runs.

Disabling tasks ^

If you want to disable a particular task, for instance because it always fails, you can run theDisable-ScheduledTask cmdletLike Get-ScheduledTask, it accepts the parameters TaskPath and TaskName to restrict its application to certain tasks. But unlike Get-ScheduledTaskDisable-ScheduledTask doesn’t support wildcards.

However, in most cases you will want to filter the list with certain criteria and then pass it to Disable-ScheduledTask:

Activating, stopping, starting, and deleting tasks ^

Activating, stopping, and continuing scheduled tasks works along similar lines. PowerShell provides the cmdlets Enable-ScheduledTaskStop-ScheduledTask, and Start-ScheduledTask for this purpose. For example, to stop all currently running tasks, you can run this command:

If you don’t just want to stop or disable a task, but want to remove it completely, you can work with Unregister-ScheduledTask.

Source: Displaying, running, and stopping scheduled tasks with PowerShell

How do I disable “Xbox Game Monitor” Service? : Windows10

How do I disable "Xbox Game Monitor" Service?
byu/ReadFoo inWindows10

This thread is one of the top hits on google so I’ll share what I’ve figured out.

First of all, to disable all the other Xbox services: right-click Start, click Run, enter ‘services.msc’—backup the list before making changes by right-clicking at the top left ‘Services (Local)’ -> ‘Export List’.

Now find all the services involving Xbox, right-click each one and do the following:

  • General tab: change Startup type to ‘Disabled’

  • Recovery tab: change all three conditions to ‘Take no action’

Feel free, with caution, to do this for any other unwanted app eg., wallet, maps, fax/printer, cloud and/or updating services for Razer/Adobe/Skype

Now to get around Denied Access to Xbox Game Monitoring. Do the following. Right-click Start, click Run, type ‘regedit’. Always backup registry before making changes.

  • Locate: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xbgm

  • Change Start REG_DWORD—-> (by right-clicking Start ‘change binary’) then change the first 03 to 04 —-> the value will update from 0x00000003 (3) to 0x00000004 (4)

The service is now disabled. You can Restart your computer. Also if you want, you can now delete/rename the dll file located at C:\Windows\System32\xbgmsvc.dll

If you get an error that you need permission from the owner to make changes, then google how to transfer ownership of the System32 folder. I’d highly suggest backing up the System32 folder before altering any of the files.

After every Windows update check and re-disable the above along with the other Windows Gaming settings. Updates are highly likely to undo these changes.