Yes you can do this without a domain setup. The credentials that you supply for the shutdown command have to exist on the remote computer. To make it easy, you'll have to make sure that at least one account with the same username and password exists on each computer that you're going to run the command against.
Do the remote PCs have their firewall turned on? If so, turn off the firewall for one of them and see if the command works. If so, you've narrowed it down to a firewall issue and you'll need to open the correct ports (and probably want to narrow it down to only accepting traffic on that port from one IP address, namely your workstation's address).
You might find it easier and more powerful to use the Windows SysInternals tool PSShutdown.exe. That way you can maintain a list of PCs that you want to shutdown in a text file and merely edit that file when you want to add or remove the effected computers.
Furthermore, you might want to look into the Edison power management utlity. It can automate quite a bit of power options for you and save some cash for the office.
Adding a second answer to comments 1 and 2:
1) yes there is a difference and the difference is the point of the discussion.
If you share files on a workgroup computer, they have access permissions to account(s) or group(s).
If you don't have a Domain, the accounts are local to the machine so each user will need an acount on the sharing machine, even if you use groups, you can only add local acounts in the group.
If you have a Domain, the accounts and groups are global to the Domain so you don't need an acount on the local machine sharing the files, only one Domain acount for all machines in the Domain. The difference is that a Domain is a central authentication system (one server for all users on all machines) and a Workgroup is a local authentication system (each machine has its own users that can be differents). When you want to access a Workgroup machine, your computer sends its credentials (login/password you used) and they have to be the same as the ones existing on the remote machine for your connection to be accepted. On a Domain they are the same always as they are "checked by the server" and not the local machine.
2) Nothing prevents you from using the same login on all computers and for all users but you can't use windows without an account (or any modern OS I know). When you install it, it has already an account (and it's an Admin account). If you have only one user and without password, windows won't ask for user/password and will enter alone but it will use the account.
With accounts you can have security if you use it like making user's files private, using limited accounts instead of the Admin account used by windows (with admin, a virus or a bad user has access to your whole computer AND network if you have the same account on all machines), each account has it's own outlook configuration, not all users in the same inbox.
You can also use the windows account to access remote software like a database server for example without the user having to login. If you have the same account for all, all will have the same rights on the database.
Last but not least to prevent a visitor to use the machine as an Admin.
These are the reasons that came to my mind while writing but I'm sure there are a lot more.
Comments on Edit 3 from OP (lack of space... :))
"only one Domain acount for all machines in the Domain" was part of the answer to your Comment 1 asking if there were differences between sharing a folder to a workgroup or to a domain machine so if not we could leave the domain out of the discussion.
Now, on Edit 3:
for 1): the common answer from the beginning (as always) yes if you make an account with the same login/password on the workgroup computer as the LDAP account. I use this every day from a linux machine joined to openLDAP on linux server accessing files and printer shared in a XP Home standalone machine (this is the only way as XP Home won't enter a Domain).
2): the situation is not possible, you can't use a domain account on a machine not joined to a domain. What you can do, is again, making an account on the workgroup machine with same login/password as a domain account and yes, you'll access the files on a domain share with domain groups permissions if the domain account you have "replicated" on you machine is in the right groups, even if your machine is not on the domain. I had this situation some years ago as I had a notebook and didn't want to change config every time I was login so I had the same login as my domain account on the notebook and was using it with a normal login (no domain) to connect on the network and it was working exactly as the desktop connected to the domain.
What I am saying in the whole thing is that the common answer is perfectly right, you have only 3 possibilities if you want to make a "real" network (opposed to simple networks like internet connection sharing for example):
- replicate the users on a workgroup or standalone machines. Workgroups are almost useless in my opinion, they are not very different from normal standalone networked machines. They appeared on window 3.11 a long time ago and at this time I had pretty much the same opinion (not saying win 3.11 was not good, it had others good points over 3.1 but that's out of the point)
- use a domain of some kind.
- use the Administrator builtin login for everybody on all machine with the same password and this in far from recomended in a "real" network
Best Answer
PSExec from Sysinternals for remotely executing commands.
Not being on a domain will make it a bit of a pain, but you can use it to manually execute commands on a remote machine with an administrative username and password.
Editing the registry can be done via
regedit
, simply by going to theFile
menu and selectingConnect Network Registry
. This needs theRemote Registry
service enabled on the remote machine.Again... a pain without a domain, but as long as you know the administrative credentials of the remote system, it can be done.