Hi guys local permissions


  1. Posts : 113
    Windows 7 Ultimate x64
       #1

    Hi guys local permissions


    Im trying to use the CMD tool to communicate with another machine on my home network but keep getting access denied.

    Do i have to setup some sort of permission/firewall exception between the 2 machines?

    Thanks in advance :)
      My Computer


  2. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #2

    If you are trying to do a:

    net use * \\MachineName\ShareName you will need to make sure that File and Printer Sharing is turned on in the Firewall on the Windows 7 machines.
      My Computer


  3. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #3

    Can both computers connect via the standard Windows interface? Are they part of the same workgroup/domain/etc?
      My Computer


  4. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #4

    djjamieg said:
    Im trying to use the CMD tool to communicate with another machine on my home network but keep getting access denied.

    Do i have to setup some sort of permission/firewall exception between the 2 machines?

    Thanks in advance :)
    Here's what I got when I tried it...

    Hi guys local permissions-capture.jpg

    you can't use CMD to connect to another computer.

    You'll probably have to use a telnet client...

    What exactly are you trying to do?
      My Computer


  5. ryo
    Posts : 1,953
    windows 7
       #5

    djjamieg said:
    Im trying to use the CMD tool to communicate with another machine on my home network but keep getting access denied.

    Do i have to setup some sort of permission/firewall exception between the 2 machines?

    Thanks in advance :)
    hello..when you're want to connect with 2 mechines.
    the simple is like this..
    - make sure the firewall is off
    - assume IP PC1 is 171.0.0.0 and IP PC2 is 171.0.0.1
    so you can use run and type \\171.0.0.1

    note make sure that you are sharing permission. if you're sharing printer make sure, right click on printer > properties > security, set up the permission for who allow to connect.

    hope can help!!
      My Computer


  6. Posts : 113
    Windows 7 Ultimate x64
    Thread Starter
       #6

    Hey guys

    Basically im trying to implement the shutdown -i command line on the computer in my study from my laptop but I get "access denied" once I ok the command.

    Any ideas?
      My Computer


  7. Posts : 31,250
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #7

    Hi James,

    Outside the box but this may be what you are looking for ....

    PsShutdown

    Doesn't state it works on win7 but 2000 upwards suggests so and sysinternals are updated regularly - in fact the whole suite is an essential for windows users in my opinion - and of course it's free

    edit

    You may also need to use the runas command to assign the needed remote permissions
      My Computers


  8. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #8

    To send such commands to other computers on the network you must have admin privileges on those computers. To determine whether you have those, Click start, click Run, then type \\yourcomputer (replace yourcomputer with the networked computer’s name) then hit enter. If you are able to access the computer you will be able to send shutdown commands to it. If you are denied access, you don’t have administrative privileges and you won’t be able to.
    The computer sending the shutdown command must be logged in as a user with administrative privileges on the computer receiving that command. The user name and password have to match on both computers.
    Last edited by Bill2; 27 Mar 2010 at 06:13. Reason: typo
      My Computer


  9. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #9

    djjamieg said:
    Hey guys

    Basically im trying to implement the shutdown -i command line on the computer in my study from my laptop but I get "access denied" once I ok the command.

    Any ideas?
    Ok... simple alternative... On the the Study machine enable Remote Desktop.

    From the laptop, click on Remote Desktop and log into the other machine. Then in the "virtual desktop" click start/shutdown...

    The nice part of this is with remote desktop you can also run programs, do a lot of maintenance and even install/uninstall software from remote locations.
      My Computer


  10. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #10

    djjamieg said:
    Hey guys

    Basically im trying to implement the shutdown -i command line on the computer in my study from my laptop but I get "access denied" once I ok the command.

    Any ideas?
    Make sure you have the firewall settings correct on the remote machine. That is that File and Printer Sharing is allowed.

    Then type:
    Code:
     
    net use \\ComputerName\ipc$
    Enter a user name that has Administrator Rights
    Enter the password.

    Then type:
    Code:
      
    shutdown -i
    Pick the machine or manually add it. Check all the setting you want and then click ok.

    That will shutdown the remote machine.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:21.
Find Us