Opening a remote machine's Windows C drive [closed] - windows

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I'm trying to locally mount a machine's C drive that is on my LAN. I need to able to browse the contents of the other machine when tracing through code. I once saw a sys admin do some crazy windows incantation from the cmd prompt. Something like
$remote_machine/local_access/C
Is anyone familiar with how this is done?

If it's not the Home edition of XP, you can use \\servername\c$
Mark Brackett's comment:
Note that you need to be an
Administrator on the local machine, as
the share permissions are locked down

If you need a drive letter (some applications don't like UNC style paths that start with a machine-name) you can "map a drive" to a UNC path. Right-click on "My Computer" and select Map Network Drive... or use this command line:
NET USE z: \server\c$\folder1\folder2
NET USE y: \server\d$
Note that you can map drive-to-drive or drill down and map to sub-folder.

By default, Windows makes the root of each drive available (provided you've got Administrator privileges) as (e.g.) \\server\c$. These are known as Administrative Shares.

Related

Which ways are there to start a program at windows startup from regedit? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Well, my question is not really about a problem but more of a general question.
I know that it is possible to start an executable by creating a new registry key in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Are there other ways like this to Autorun a program?
Does them require administrator priviledges?
Thanks.
Here's some other ways to autostart programs at startup
Startup folders
You have two folders that will autorun executable in Windows. This one will start a program only for a specific user:
C:\Users\YOUR SESSION\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
And this one for all users:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
Or you can press Windows Key + R and enter
shell:startup
for the current user, or:
shell:common startup
for all users
Task Scheduler
You can plan a task to run a program at startup (or periodically!) on your computer. You have plenty tutorials on the internet if you want it's pretty easy to setup.
Windows Service
Last option is to create a Windows Service in C#. I don't really know for this option as I try it once a while back and in the end I ended doing something else.
You can look it up too on Google
From the regedit tool I believe you can only do like you just said.
There is a little variation if you want. Your path will only start the program for the current user.
If you want to do the same but for all users you have this path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Do you absolutely want to start an executable from regedit ? Because you have other ways to do so in Windows

how to run batch file on remote machines shared folder [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have 2 PC's on my LAN, PC1 and PC2.
PC2 has a Shared Folder with read & write access; \\PC2\Shared_Folder\
I have a Batch File on PC1:- C:\>batch.bat
I want to execute the batch file using Command Prompt from PC1 on remote PC2.
Note: Cannot Install any Software on any of the PC's and only windows file sharing is on between the PC's.
Thanks in Advance.
One of the common ways to do this is to use the PsExec tool from Windows Sysinternals:
PC1 Prompt> psexec \\PC2 \\PC1\Shared_Folder\Batch.cmd
Note: What this hides from you is it does install a program on PC2. It does so automatically, but it still requires sufficient access on the target machine to access \\PC2\ADMIN$

Changing directories in Windows command prompt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I keep getting the message, 'YourFolder is not recognized as an internal or external command, operable program or batch file', in Windows Command Prompt and Powershell. I want to set git up, upload my Android project to github.
YourFolder, though, definitely exists.
For example: Users folder exists.
But I try go into the Users folder and I get:
It happens with every single folder. I tried a few things like adding C:\Windows\System32\; into the environment variable and rebooting, and opening Command Prompt with Administrator Privileges but had no luck. Still the same problem.
Any suggestions?
You can't run a folder name in the command prompt like you can in explorer; you have to tell the shell what you want to do with it.
If you want to to change directories to the console, use cd YourFolder
C:\>cd users
C:\Users>dir
Volume in drive C has no label.
Directory of C:\Users
2014-07-17 17:47 <DIR> .
2014-07-17 17:47 <DIR> ..
etc
If you want to open an explorer window, the command is start YourFolder

How can I put the desktop files on other drive, e.g. D:? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I use Win7 and usually I put some files on my desktop so that I can access them easily. But I like to backup files on other driver instead of drive C. So I want to find a way that I can put those files on my desktop while they are stored on D drive. Is it possible and how to do? Thanks!
I hope to access them easily: means that they can be saw directly on desktop.
You could tweak registry settings with earlier versions of Windows so that the USER directory is located on other drives: that is no longer the case since Windows 7.
The closest you can come to doing what you want to do is placing your files on the D: drive, and dragging a shortcut onto your Desktop (you can also create a symbolic link to your desktop directory, but that's more trouble, and there's no real advantages).
Perhaps a safer alternative is to use the vanilla Windows functionality, but use one of the online backup services like Mozy to keep the files safe.
You can put the files onto your D drive and right click on each file and click "Send To" then click "Desktop(create shortcut)".

Is it possible to have a Windows instance with remote desktop GUI [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have some experience with Amazon's linux instance. But, I need a Windows machine, and I need to manage it with GUI (something like remote desktop or so). Can any body answer me if this is possible and how ?
Yes this is definitely possible, I use it all the time. Just provision a windows instance and then once it is running, right click on it in the EC2 management interface and select "Get Administrator Password".
You will need to specify a private key at launch time, and use that to get the decrypted password.
You can then use any Remote Desktop client to access the machine using this password and the public DNS name.
Windows has Remote Desktop, which allows you to drive through GUI, or else putting on VNC and connect through there.

Resources