| | |
batch file query
![]() |
•
•
Join Date: Sep 2006
Posts: 20
Reputation:
Solved Threads: 0
I would like to schedule certain pcs to shutdown at set times of the day. I have created a batch file with the text "shutdown -s -f" however as im running it through a limited user account it fails saying i dont have the appropriate permissions.
Is there a string i can use after the shutdown command that will look at my admin account for verification.
Any help appreciated.
Is there a string i can use after the shutdown command that will look at my admin account for verification.
Any help appreciated.
[QUOTE=DenisOxon;398710]Why don't you run it from admin account ?[QUOTE]
He can't. No one can if its an office PC..
I guess you have to do it from your Admin account. Why don't you try resetting your admin's password entering into his accountand then enabling your limited account to administration account or enable certain rights, that should help. There is a way to change the admin's password.
He can't. No one can if its an office PC..
•
•
•
•
I would like to schedule certain pcs to shutdown at set times of the day. I have created a batch file with the text "shutdown -s -f" however as im running it through a limited user account it fails saying i dont have the appropriate permissions.
Is there a string i can use after the shutdown command that will look at my admin account for verification.
Any help appreciated.
There is just two ways to live your life.
One is as though nothing is a miracle.
The other is as if everything is.
One is as though nothing is a miracle.
The other is as if everything is.
•
•
Join Date: Sep 2006
Posts: 20
Reputation:
Solved Threads: 0
Ive written batch files before that work fine via the limited user account however the switch within the file "/user:accountname accountpassword" doesnt seem to work with the shutdown command.
Im just after the appropiate switch for the task i shouldnt need to do anything within the admin account.
Im just after the appropiate switch for the task i shouldnt need to do anything within the admin account.
Last edited by solomonski; Jul 5th, 2007 at 5:54 am.
•
•
•
•
I want to be able to schedule the task. I.e forget about it and let it run itself with no intervention.
The key is in the command syntax for the batch file. Its the command im after not a work around.
Problem solved ?
Denis
•
•
•
•
I
Is there a string i can use after the shutdown command that will look at my admin account for verification.
The answer is NO - at least not according to the shutdown help file.
In order to schedule the running of your batchfile you have to use the Scheduler.
Run the scheduler wizard to run your batch file at thye time you want it to run. When prompted enter username and password, in this case admin.
Problem sorted I believe
Denis
Last edited by DenisOxon; Jul 9th, 2007 at 12:59 pm.
![]() |
Similar Threads
- Batch file for renaming extensions (Windows NT / 2000 / XP)
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Will this work?
- Next Thread: whats get deleted when repairing windows XP
Views: 2687 | Replies: 9
| Thread Tools | Search this Thread |
Tag cloud for Windows NT / 2000 / XP
.net 3.5 3daccelertion 2007 2010 activedirectory address application appstore auto avast batch beep black blue bluescreen boot browserproblems bsod bulletin chinese computer computerfreezes crash cursor desktop display downloads drive dual error errors explorer failure fax file files firefox folder fonts framework freeze hardware internet ip laplink latitude live load logitech microsoft minimalizes mobile monitor network nvidia options oracle os outlook-express partition permissions port problem processor product proxy reformat remote screen scrolling security serious server. sharepoint shell slowperformance sp1 spyware startup suggestion ubuntu update upgrade usb user variables virtual virus vista visual volume webos win window windows windows7 windowsxp winxp xp





