THE BORE

General => The Superdeep Borehole => Topic started by: james on December 15, 2020, 05:28:36 PM

Title: Quick tech support please
Post by: james on December 15, 2020, 05:28:36 PM
Ok you guys might remember a few weeks ago I had an incident where I put my remote computer to sleep and I was a few states away.

So I want to prevent that from ever happening again.

I found this article about setting your PC to run a task every day so it will wake up even if its sleeping
https://www.howtogeek.com/119028/how-to-make-your-pc-wake-from-sleep-automatically/


Does this seem right? I dont want to screw anything up. Specifically this:

(https://www.howtogeek.com/wp-content/uploads/2012/07/image191.png)

I dont want to get trolled and run a task to delete windows or whatever.

Also, if my PC is on anyway, nothing bad will happen right?

I need my PC for work so serious please
Title: Re: Quick tech support please
Post by: Nintex on December 15, 2020, 05:31:05 PM
Looks like legit autisty explanation so probably won't wipe your hard drive.

Not sure if it'll work though. I guess the only sure fire way is to disable any and all hibernate/sleep features and hope your PC is equipped to stay on for long periods of time.
Otherwise invest in a decent laptop and some cloud storage to avoid the problem entirely.
Title: Re: Quick tech support please
Post by: Tasty on December 15, 2020, 05:33:09 PM
Last step you need to do is run rm -rf * in PowerShell.





IMPORTANT INFORMATION
DON'T DO THIS IT WILL DELETE WINDOWS
[close]
Title: Re: Quick tech support please
Post by: Nintex on December 15, 2020, 05:40:45 PM
A wise man once said:

“What do I know about it? All I know is what's on the internet.”

Words to live by
Title: Re: Quick tech support please
Post by: Nintex on December 15, 2020, 05:46:59 PM
Wait, why are you running a sched task? You can just set your pc to never sleep or hibernate...
He thought he did so last time but it might've locked up or something.
There's of course also the auto update reboots that might get in the way.

Scheduling a task makes sense to keep your PC alive when you need it running for a week or so but not if you're running parts not suited for such prolonged use.
Title: Re: Quick tech support please
Post by: james on December 15, 2020, 05:53:26 PM
I have my desktop set to never go to sleep.

But what happened is on my laptop, I had the remote connection running at full screen. My laptop has an issue where it liked to wake up all the time on its own, so I have to set it to hibernate every time I close it.

Thing is, I set it to hibernate but I actually did that to my remote desktop because it was late and I was sleepy and everything looks the same when youre on full screen.

I want to idiot-proof it so this never happens again by creating a wake up task.
Title: Re: Quick tech support please
Post by: remy on December 15, 2020, 06:16:46 PM
Wait, why are you running a sched task? You can just set your pc to never sleep or hibernate...

Windows doesn't actually seem to respect this setting, at least on my laptop.
Title: Re: Quick tech support please
Post by: pancakesandsex on December 15, 2020, 06:37:17 PM
https://helpdeskgeek.com/windows-10/how-to-remotely-wake-up-your-windows-10-pc/

This is probably what you want to look into.

Rather than perpetually keeping it awake, just be able to force it to wake if for some reason you eff up and change the wrong settings again.
Title: Re: Quick tech support please
Post by: Transhuman on December 15, 2020, 06:52:34 PM
Before I help I want to know what this "task' is.
Title: Re: Quick tech support please
Post by: james on December 15, 2020, 06:56:56 PM
https://helpdeskgeek.com/windows-10/how-to-remotely-wake-up-your-windows-10-pc/

This is probably what you want to look into.

Rather than perpetually keeping it awake, just be able to force it to wake if for some reason you eff up and change the wrong settings again.

Looked into this previously, not an option for me
Title: Re: Quick tech support please
Post by: Nintex on December 15, 2020, 07:02:17 PM
Wait, why are you running a sched task? You can just set your pc to never sleep or hibernate...

Windows doesn't actually seem to respect this setting, at least on my laptop.
There's sometimes also a bios option that does the same thing as another fail safe.
Title: Re: Quick tech support please
Post by: Uncle on December 16, 2020, 07:44:53 AM
all that command does is open the command prompt and then close it again

I can't say for sure if it will work, it depends on whether windows interprets this command as something the user did and wakes up, or as something to do in the background while still saying mostly asleep

I would think windows is smart enough now to interpret this as a background sort of task, it seems weird that this would wake up your computer

you have to test it, schedule it to happen every 5 minutes or something and then hibernate your computer and watch if it actually wakes up to do this
Title: Re: Quick tech support please
Post by: daemon on December 16, 2020, 07:57:57 AM
Even if you do things like wakeup on lan it doesn't guarantee that your router won't crash and not properly reboot and leave you in the same situation.

The nearly  most secure setup would be to have a gsm enabled smart switch to be able to turn off everything connected to that smart switch, then back on (for hard rebooting purposes).

(https://images-na.ssl-images-amazon.com/images/I/41a-dk2e%2BzL._AC_SL1000_.jpg)

Then you have the wake up on LAN to turn it on remotely.


There's still the chance for the breaker to flip though, and I have no solutions for that.
Title: Re: Quick tech support please
Post by: daemon on December 16, 2020, 07:59:44 AM
https://helpdeskgeek.com/windows-10/how-to-remotely-wake-up-your-windows-10-pc/

This is probably what you want to look into.

Rather than perpetually keeping it awake, just be able to force it to wake if for some reason you eff up and change the wrong settings again.

Looked into this previously, not an option for me

Why is it not an option?
Title: Re: Quick tech support please
Post by: CatsCatsCats on December 16, 2020, 08:12:29 AM
Even if you do things like wakeup on lan it doesn't guarantee that your router won't crash and not properly reboot and leave you in the same situation.

The nearly  most secure setup would be to have a gsm enabled smart switch to be able to turn off everything connected to that smart switch, then back on (for hard rebooting purposes).

(https://images-na.ssl-images-amazon.com/images/I/41a-dk2e%2BzL._AC_SL1000_.jpg)

Then you have the wake up on LAN to turn it on remotely.


There's still the chance for the breaker to flip though, and I have no solutions for that.

(https://i.redd.it/btrvpjf18v461.jpg)

Follow me for more recipes
Title: Re: Quick tech support please
Post by: daemon on December 16, 2020, 09:57:49 AM
lmao.
Title: Re: Quick tech support please
Post by: Tasty on December 16, 2020, 10:36:12 AM
I know that's bad but someone tell me why. (I understand the fuse has been permanently fixed on.)
Title: Re: Quick tech support please
Post by: daemon on December 16, 2020, 10:53:37 AM
I know that's bad but someone tell me why. (I understand the fuse has been permanently fixed on.)

breakers jump so in case of a shortcircuit the whole thing doesn't catch fire.
Title: Re: Quick tech support please
Post by: Tasty on December 16, 2020, 11:14:43 AM
I know that's bad but someone tell me why. (I understand the fuse has been permanently fixed on.)

breakers jump so in case of a shortcircuit the whole thing doesn't catch fire.

:ohhh Thanks :-[
Title: Re: Quick tech support please
Post by: james on December 16, 2020, 03:35:02 PM
https://helpdeskgeek.com/windows-10/how-to-remotely-wake-up-your-windows-10-pc/

This is probably what you want to look into.

Rather than perpetually keeping it awake, just be able to force it to wake if for some reason you eff up and change the wrong settings again.

Looked into this previously, not an option for me

Why is it not an option?

It's a modern /router combo from optimum with extremely limited user access.

That and I'm already across the country so I can't do anything in person
Title: Re: Quick tech support please
Post by: james on December 16, 2020, 04:13:05 PM
That'll just start command prompt and exit it.  No harm done.

And task scheduler has a specific option for making sure the computer wakes from sleep to execute the task, so it should work, especially if you check that box.

edit: I see the article covers the "wake from sleep" checkbox; so yeah that'll work and not be harmful

Yeah I did check that option.

I have the bad boy set up to fire starting tomorrow, so hope it all goes well.

Id never been in task scheduler before, and noticed a bunch of assholes like ONEDRIVE and DROPBOX invited themselves in there to schedule shit. Fuuuuuuuck oooooooooff.

Also, Microsoft are such assholes. After saving, I went back in to edit it, and when you finish it asks you to confirm your password. Except the assholes populate the username with just the last part. Took on hour on google to figure out I had to manually add DESKTOP-XXXX-username to get it to work.

Fuuuuuuuuck microsoft holy shit
Title: Re: Quick tech support please
Post by: Uncle on December 16, 2020, 05:37:47 PM
why aren't you testing it right now

set the task to happen every 5 minutes and hibernate your computer and watch to see if it kicks out of hibernate

edit: oh if you're already across the country I can see why you wouldn't want to have to test it in case it fails  :doggy