Solved

Shutdown specifying user name and password

Posted on 2004-03-23
8
1,441 Views
Last Modified: 2012-06-27
Im using Symantec Packager to install a Windows up-date.

At the end of the up-date i need to restart the computer using a batch file.

On Windows 2000 computers im using PSShutdown - r -t 04:00

On Windows XP Computers im using Shutdown -s -t 10800

However when the batch file is executed on the remote computer the Windows XP computer says "A required privilege is not held by the client". However im executing this under a admin account !

Is there a another restriction thats preventing this from executing ?

Thanks

GISVPN
0
Comment
Question by:gisvpn
8 Comments
 

Author Comment

by:gisvpn
ID: 10662600
quick additional question, is there anyway of specifying a user name and password when executing this batch file ?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10664573
0
 

Expert Comment

by:SilentExpert
ID: 10673470
Two *possible* issues at work here.

1) the batch file is being run under an account other than admin (i.e. secondary logon) or restricted service account (depending on how the batch file is being started)
2) What admin account? Is the PC on a network? If so, are you using a domain admin account on a PC not part of the domain? or listed as being able to administrate the computer? Also, are there any policies in effect preventing what you are trying to do?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 

Author Comment

by:gisvpn
ID: 10675387
I think that there are policies in effect preventing this from happening.

I have tried to look at some in secpol.mcs howeverim not sure which ones should make this work, as this is being run with an administrators account..

thanks
0
 

Author Comment

by:gisvpn
ID: 10675396
Im using a network account which does have administrator access on here.
0
 
LVL 1

Accepted Solution

by:
fcisler earned 500 total points
ID: 10708130
adjust security token privelages
it's something to that effect. Try doing it without the reboot flag and it should work. I BELIEVE, dont quote me on this, that that privelage is required to reboot. I know using our remote shutdown tool i could shutdown the PC without a message under my admin account, but i could not reboot or shutdown with message until i added myself to this priv. group.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to setup Redhat on HP server? 3 39
ejb stateless example 2 27
Restore Windows 7 Snipping Tool function to Windows 10 10 76
storing csv file in table variable in Python 2 27
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question