My powerline adapter kept disconnecting (about 15 times a day!), apparently a common problem so I started off using this video but then got better advice in the comments section. A scheduled task to ping regularly sorted the issue out and I've had no disconnections at all since.