Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Disabling the command prompt.  (Read 1889 times)

0 Members and 1 Guest are viewing this topic.

trojanz

  • Guest
Disabling the command prompt.
« on: June 21, 2006, 04:49:31 AM »
We're running log-on scripts that would delete the temporary files. The problem with it is that there are users who have huge amounts of temp files especially those who has internet access. So during log-on, the users would see the command prompt while it's emptying the temp folders. So my question is, is there anything that we can include in our script that would disable the command prompt so that no user would interfere with what the script is supposed to do?

viking



    Adviser
  • miaow-miaow 2.0 for networks
  • Thanked: 1
    Re: Disabling the command prompt.
    « Reply #1 on: June 21, 2006, 05:45:30 AM »
    A "solution" would be to run those bats/scripts with another computer account credentials. So, if you have computerA, with 2 users, U1 and U2, which will use the computer. Create a 3rd user, U3; create an scheduled task, and set your task to run the bat (for deleting and other administrative tasks) under the U3 account, at computer start-up (if the users log-on many times, without the computer to be restarted, the task will only be executed at computer start-up), or to be run regularly - but this is a "dangerous" setting -> if your user just uses the files you want to modify?
    « Last Edit: June 21, 2006, 05:45:54 AM by viking »