Skip to main content

Forcing the users to shutdown when their time is up!


If you have many users who uses your PC or even your home office/small office PC, you find it difficult to control the time they use the PCs, sometimes you have a hard time in explaining why you need the Pc to be shutdown after sometimes or why you need that “some one” to leave you PC for a particular time span. So here comes a handy solution for that, which will even be very useful to system administrators of enterprise level networks.

In order to do this, you need a third party utility application, because Microsoft hasn’t included this feature in their OS versions.

First thing first,


UtilityBeyond Logic Shutdown for NT/2000/XP is a simple freeware utility that you can schedule to run, and it will do the job every time without modifying user rights. Download the utility, and extract it into a directory.


Then, follow these steps:
  • Go to Start Run, type cmd, and press [Enter].

  • Navigate to the directory where the extracted file resides.

  • To view the different command parameters available, type shutdown /?.

  • Create a batch fileUsing this utility, we’ll create a batch file to run that enforces our time restrictions. Follow these steps:
  1. Go to Start Run, type notepad, and press [Enter].

  2. Type shutdown -s -f -c -l 30 -m “Time restrictions are now forcing you to logoff; please save all your work.”

  3. Go to File Save, and name the file Shutpc.bat, and save it in the same directory as the utility.

With this command, we’re forcing the machine to shut down, forcing applications to terminate at shutdown, preventing the user from cancelling the command, displaying a message box to inform the user what’s happening, and giving the user 30 seconds to save all work.


Next, we’ll schedule the batch file to run using the built-in scheduler.

Follow these steps:

  1. Go to Start Control Panel, and double-click the Schedule Tasks applet.

  2. Double-click Add Scheduled Task, and click Next.

  3. Click Browse, navigate to the Shutpc.bat file you just created, and double-click the file.

  4. You can change the name of the task or leave it; then, select Daily, and click Next.

  5. Configure the time you want to force logoff, and click Next.

  6. Enter the password for the account that’s going to run this task (it should be an administrator account), and click Next.

  7. Select the Open Advanced Properties For This Task When I Click Finish check box, and click Finish.

  8. On the Settings tab, deselect the Power Management check box.

  9. Click OK, and you’re finished!

This Utility can be very handy depending your job role, but even for the home users, this can be a veryt usefull one! Click here to visit TehcRepublic for the complete article!

Comments

Popular posts from this blog

The Staff Engagement Paradox: Forcing the Illusion of Choice

Staff engagement, a concept praised for its ability to motivate employees and cultivate a positive work environment, can sometimes become a double-edged sword.  Initially, the intention behind organizing non-work-related activities, such as futsal competitions, was noble. These endeavours sought to provide employees with opportunities to connect and engage beyond the confines of their workspaces. The vision was to ignite motivation and foster unity. However, somewhere along the way, the true essence of these activities became distorted. The Penalties of Being Human Ironically, in their pursuit of encouraging staff engagement, companies implemented attendance marking systems and penalties for absence or tardiness. What was once voluntary and enjoyable participation has now been replaced by fear-driven coercion. Employees attend these events not out of genuine interest or enjoyment, but out of the dread of being shamed, penalized, or left out. The spirit of choice and voluntary engag...

How the "push it" culture creates real "down fall".

In the world of organizational culture, the prevalence of a "push it" mentality often serves as a glaring indicator of more profound issues. It signifies more than just a commitment to excellence; it frequently represents the single most significant indication of an isolated, blame-oriented, and ultimately toxic culture.  In environments where the "push it" mantra prevails, collaboration becomes an afterthought, and leaders, whether consciously or inadvertently, exacerbate this toxicity by embracing this phrase. In this article, I will dive into the perils of the "push it" culture, and I will try to shed some light. If you have been hearing the phrase "you have to push it" or "I expect you to push it harder", that means you are already working in a counterproductive environment.  The Toxicity of "Push It" The "push it" culture, seemingly rooted in the pursuit of results, often conceals deeper organizational maladies....

A National Cybersecurity Agency that could foster real impact.

  In an age where critical infrastructure and information systems are the cornerstones of national security, the role of a National Cybersecurity Agency has never been more crucial. It transcends the physical realm, acting as a digital guardian, safeguarding the nation's most sensitive data and ensuring the smooth operation of vital services. Beyond Reaction: A Proactive Approach The agency's mission extends far beyond simply reacting to cyberattacks. It's a multi-faceted entity with a diverse set of responsibilities: Strategic Vision:  Developing a comprehensive national cybersecurity strategy that aligns with the ever-evolving threat landscape and incorporates best practices from around the globe. Threat Intelligence Powerhouse:  Continuously gathering, analyzing, and disseminating real-time cyber threat intelligence to keep government agencies, businesses, and citizens informed and prepared. Risk Management Partner:  Assisting government entities and critical infr...