• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 600
  • Last Modified:

WIN 2K Restrictions..

Does anyone know how to restrict a user from access to the internet and or PC during certain time periods. The pc is not part of a Domain. It's a stand alone.. Is it possible?
0
escme16
Asked:
escme16
  • 2
  • 2
  • 2
  • +2
1 Solution
 
ryangclearCommented:
how does it access the internet?
0
 
escme16Author Commented:
It's a small home network. Using a Dlink router that is sharing cable modem internet.. I've checked the router but it doesn't have any settings that allow what I want to do.. I know that if there was a domain controller that i can do it from the domain...
0
 
sirbountyCommented:
Nah - I don't think you'll need a domain for this...
Kids, I'd suppose...

Let's say you want to prevent account Tommy from logging in after 9pm on Sun-Th, but he can log in up to 11pm Fri & Sat.  Also - keep him from logging in until school's out at 3pm M-F...

Click Start->Run->CMD
Type

net user Tommy /times:M-F,3pm-9pm; Sa,8am-10pm;Su,8am-9pm

0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
escme16Author Commented:
and that will automatically disable the account for the alloted times... ???
0
 
ryangclearCommented:
there are other programs like this but this is the first one that I found. it can block internet usage by time and I imagine you can diable the unwanted features.

http://www.soft411.com/company/Zecos-Software/ChildWebGuardian.htm
0
 
sirbountyCommented:
escme16 - yes, but it won't automatically log off the user.
So, if the user wants to log in after the 'blocked' time - he won't be able to use the system at all...

But if he's logged in at 8:30pm and continues working - he won't get kicked off automatically...without this little tool...


Now to shutdown the system at the appropraite time - giving him a 5 minute warning...

If you have access to shutdown.exe (I think it's part of the resource kit).
Or, use PSShutdown: http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml

You would set it up to display a warning message 300 seconds before shutting down the system...

So, using either one, you could create a simple batch script to kick off each night at the appropriate time initiating the shutdown command...

-----timeforbed.bat----
@shutdown  /L /T:300 /Y /C "System powering down..."
--------------------------

Shutdown:
Usage: SHUTDOWN [/?] [\\Computer] [/L] [/A] [/R] [/T:xx] ["Msg"] [/Y] [/C]

/?            Shows this screen.
\\Computer      Specifies a remote computer to shutdown.
/L            Specifies a local shutdown.
/A            Abortes a systemshutdown. This is only possible during the
            timeout period.If this switch is used, all other are ignored.
/R            Specifies that the machine should reboot after shutdown.
/T:xx            Sets the timer for system shutdown in seconds.[20 sec. default]
"Msg"            Specifies an additional message
/Y            Answer all following questinons with yes
/C            Forces running applications to close.
            ATTENTION: If you use the /C parameter NT ignores the
                       applications option to save data which may
                       have changed. You will see no File-Save dialog
                       box, because NT will force the application to
                       close. This will result in a loss of all data.
                       not previously saved !!!

================

PSShutdown:
usage: psshutdown-s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t nn|h:m] [-m "message"] [-u Username [-p password]] [\\computer[,computer[,...]]
-? Displays the supported options.

-a Aborts a shutdown (only possible while a countdown is in progress)  

-c Allow the interactive user to abort the shutdown  

-d Suspend the computer

-f Forces all running applications to exit during the shutdown instead of giving them a chance to gracefully save their data

-h Hibernate the computer

-k Poweroff the computer (reboot if poweroff is not supported)

-l Lock the computer

-m This option lets you specify a message to display to logged-on users when a shutdown countdown commences

-o Logoff the console user

-r Reboot after shutdown

-s Shutdown without poweroff

-t Specifies the countdown in seconds until the shutdown (default: 20 seconds) or the time of shutdown (in 24 hour notation)

-u Specifies optional user name for login to remote computer

-p Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

\\computer Shutdown the computer or computers specified. If this is omitted, the local computer defaults.


Hope that helps!
0
 
Gareth GudgerCommented:
MAybe a parental control program such as Cybersitter.....

www.cybersitter.com
0
 
Gareth GudgerCommented:
From memory Cybersitter can block internet access at certain times. But not sure about the PC....
0
 
Ares666Commented:
I was recommended to this site and this topic from another forum. I've been searching for this very thing and how to do it. I can't seem to get it to work though.

I've tried every possible combination of switches and it doesn't seem to work for me. There's something i'm not doing right, and it may be that i'm not typing in the switches correctly. Can someone (maybe sirbounty) type an example showing the syntax use so that i could see how EXACTLY the command and the switches are to be inputted??

I'm  using psshutdown. I've tried psshutdown -k -t5:00pm -m "blahmessage", i've tried psshutdown -k-t5:00pm-m"blahmessage", i've even tried it with the pipe character in between the switches like: psshutdown -k|-t5:00pm|-m"blahmessage". I've tried also using spaces in certain areas like: psshutdown -k|-t 5:00pm|-m "blahblah"..... nothing works for me and i've tried just about everything i can think of. Can anyone post an example using a few of the switches so that i can see how its to be typed using PSSHUTDOWN?

Thanks in advance.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now