Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Problems automatically running a batch file
Reply
 
Thread Tools
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Reply With Quote
Old Jun 9, 2006, 12:19 AM #1 of 17
Problems automatically running a batch file

First, let me explain the story.

I have a sister who's 15 years old. My parents and myself are both worried about her, due to the fact that lately she has been up later than everyone else (till around 12 AM) on the computer/internet. None of us believe she is mature or responsible enough to be left alone down here on the computer that late into the night. Please don't ask me to go any further or start a debate with me on why she needs to be allowed to grow up or what have you. Basically, my parents want me to make it so that she cannot use the computer past 10 PM. All of the networking hardware is in my room, and this computer that my sister uses gets the connection to the internet wireleslly. For the past few days I have simply been unplugging the router's power to shut down our connection. There are two problems though
1) This kills my internet also
2) My sister can hop onto the other network that is floating around here somewhere, it's very slow, but she can and does use it when I disconnect ours

So now I'm stepping up a bit and am trying to just shut down the entire computer after a certain point. I have created a batch file that gives the user 30 seconds warning and then shuts down.
(shutdown -s incase you were wondering). My problem is I cannot get this file to run as a scheduled task (I would like it to take effect every night at 10 PM) locally. Whenever I try, Windows gives me a "Access is denied" error even though Im logged on as an administrator and have supplied an admin password to the task. Preferrably though, I would like to somehow get it to run remotely, and give control of execution to me at my computer.

Is there a way to place the batch file on the target computer and then remotely run it on said computer from my own computer? Better yet, is their a piece of software than can remotely shut down computers? I've tried this one piece of software that was free to download whos name has slipped my mind, but it didn't work, it would alwats cause an error whenever I told it to shutdown (Probably for the same reason Windows cant do it for whatever reason)

Jam it back in, in the dark.
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Reply With Quote
Old Jun 9, 2006, 07:11 AM #2 of 17
I can't remember exactly which command I used at the prompt before, but I know it was a shutdown command and I know I had the syntax at one point because it attempted to shutdown the computer downstairs. The only problem as mentioned though, is that when it attempts this, it gives me an "Access Denied" error (Im using a certain application in this example, but it's the same results using plain vanilla CMD).


There's nowhere I can't reach.
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Reply With Quote
Old Jun 9, 2006, 08:20 PM #3 of 17
Originally Posted by Lukage
Katie, you know what I think about your sister.

What about...

psshutdown \\computer -u user -p psswd

so:

psshutdown \\family -u KTsHotSis -p lolomgbbq

Source: http://www.sysinternals.com/Utilities/PsShutdown.html
Lol no pics 4 u ~

Erm, anyways, (Username, Password obviously blacked out)


It's still giving me a denied access message. I just wish I knew why, I tried logging on as both admin accounts on that computer.

This thing is sticky, and I don't like it. I don't appreciate it.
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Reply With Quote
Old Jun 10, 2006, 12:41 AM #4 of 17
No, you have it right Mikey. The wireless router is in my room upstairs, and the computer downstairs get's it's signal wireleslly. So even when I do shut down the router, my sister can still connect to any other network in range.

So anyways, a couple things.
For one, I have confirmed the computer is called "family."
Second of all, no I don't believe my router allows me tt block entire networks. I think I can block certain computers from accessing the network on a schedule, but I'm not entirely sure how to set it, unfourtanately (I really hate the Dlink admin tool, it makes no real sense)
I tried creating a matching admin account on the computer downstairs, but the shutdown command still didn't do anything, access denied and all.
Going on your suggestion though Duminas, I tried accessing it through Explorer. I was able to pull up the computer, but the login screen that spawned forced me to log on as Family\Guest. There was no way to change which user I logged on as, the field was gray (I have guest disabled on that computer). Could that be a cause for all the problems?

I am a dolphin, do you want me on your body?
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Reply With Quote
Old Jun 10, 2006, 10:15 AM #5 of 17
One of them is running XP home, mine is running XP proffesional.

Also Duminas, I didn't actually get into the computer. It chose for me to logon as a guest but still requires a password (And I've ever set a password for that account) so I was unable to actually logon through Explorer.

I was speaking idiomatically.
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Problems automatically running a batch file

Forum Jump


All times are GMT -5. The time now is 06:21 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.