Executing administration tasks on linux from windows server 2008 [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 10 years ago.
Improve this question
What toolkits are out there that will allow me to do the following things from a windows 2008 server to a linux server? In other words I have a windows 2008 server that performs admin tasks using powershell against other windows servers on the domain using WMI and UNC shares. Soon I will be required to do the same automated tasks on linux based servers. I want to have a single windows based server that can perform these admin tasks against both linux and windows using one technology, or two if I must, but definitely only want to have to maintain a single windows based server for this.
Access remote hard drive shares e.g. Currently use c$, d$, ... hidden share on windows based systems
Execute commands remotely. e.g. Currently use WMI remote execution on windows based systems
Start, pause, stop Tomcat/Apache web servers.

Instead of installing cygwin and all its dependencies, you can use just PLink.exe with this script : Invoke-SSH (http://www.zerrouki.com/invoke-ssh/)

Take a look at Cfengine. It works nicely for administering Unix hosts, and also claims to support Windows. You might need some basic Cygwin tools installed, however.

Related

Clone Active Directory Domain Services [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 have a Azure VM running Win server 2012 r2 datacenter. I have installed Active Directory Domain Services Role onto that VM. Now i want to Clone it with the same ADDS settings to create new VMs.
I tried Sysprep, but later i found out that sysprep doesnt support ADDS.
Is there any possible way ?
Thank You.
You can't. You have to install and promote each domain controller in your forest.
However, using powershell + Azure Custom Script VM Extension you can automate the process.
Custom Script extension for Windows allows you to run PowerShell
scripts on a remote VM, without logging into it. The scripts can be
run after provisioning the VM or any time during the lifecycle of the
VM without requiring to open any additional ports on the VM. The most
common use case for Custom Script Extension include running,
installing, and configuring additional software on the VM after it's
provisioned.
More info:
Custom Script extension for Windows virtual machines
Step-by-Step: Auto-join a VM to ADDS in the Azure Cloud

Dual boot Vista/Win7. Can I install VMware and run the Vista OS already installed from the physical HDD? [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
This is part of a migration from Vista to Windows7. I now have a dual boot computer, with Win7 the preferred OS. From time to time I might need to go back to Vista to see how the things were configured there and then I will need to go back to Win7 to configure/install the same app there.
This is a computer that had very complex settings and it was difficult and risky to upgrade in place, to install Win7 over Vista.
In order to avoid countless reboots I would like to be able to always run Win7 and when I need I would like to be able to fire up VMWare Workstation and to start a Vista Machine that would have as HDD the physical HDD where currently Vista resides. I would expect the VMWare machine to run the OS installed on that HDD and I would expect Vista no to see that the hardware changed. My apps are not hardware dependent.
Is this possible?
Its possible and there are a few ways you could go about doing this.
The Easy Way
VMware Desktop allows you to use your existing partition/Disk to boot from only if its an IDE Disk.
https://www.vmware.com/support/ws5/doc/ws_disk_dualboot.html
The hard way
You can capture the Windows Vista OS as an .wim image with Windows Deployment Tool ImageX.exe. Then use other tools to create a bootable ISO. You would have to update the image though every time you feel there are a lot of changes made in Vista you want to see in VMware.

What is virtualization (for servers) and how do I set it up [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 just purchased myself a IBM System x3650 and was wondering what the best way to set it up is. I'm going to be running 5 Drupal (php) websites from it. I have read numerous articles on virtualization and was wondering how I would go about doing this. Is virtualization better on a Windows machine VS Linux? Can I use Oracle VirtualBox. Any kind of help would be greatly appreciated!
If you're just going to run a bunch of websites, you don't need virtualization.
Virtualization takes your physical hardware and allows you to logically allocate it to virtual machines. You would install a hypervisor (such as Hyper-V or VMware ESX) rather than an Operating System. Then, you could create virtual machines and install Operating Systems on those (you can install any OS that the hypervisor support). Most hypervisors support Windows and Linux.
However to run 5 websites, use a web server that allows you to run multiple web sites on a single server. Both apache (httpd) and IIS (Windows Web Server) allow this. Virtualization would be overkill to accomplish this task.

SNMP Computer Details [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'm relatively new to the SNMP protocol and its imperative that I find a way to get details of the computers on my network. I need to get the following from each machine remotely:
Architecture
RAM
HDD Size
CPU Speed
Is this possible with to retrieve the listed variables with SNMP?
All of the machines have been modified at some point and have Windows XP Pro installed. Also, WMI is not an option. I have went through the RFC1213 and SNMPv2 MIBs however I may be overlooking these variables.
I have 1 machine that I'm using to test methods. It is Windows XP Home. It has the SNMP service installed.
First, please spend more time learning SNMP. That means at least you should go beyond RFC1213.
Second, Microsoft's SNMP support its own MIB documents. Try to install SNMP support on a Windows XP machine and then you can find them (*.mib) in %windir%\system32. From them you can find OID specific to Windows. It might not cover all objects you want, but it can be a starting point.
In all, Microsoft prefers WMI to SNMP, so you should convince your boss and other stakeholders that choosing SNMP might become a problem in the future.
Yes, this is possible. To do so you need to install the SNMP service for Windows XP. Follow the instructions from the MS official website

X11 Feature for MS Windows [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 9 years ago.
Improve this question
For decades, X11 has provided the possibility to have many virtual desktops that can be accessed by different people from different machines. The virtual desktops are thus independent of the real physical desktop.
I'm wondering whether there is something similar already on MS windows OS. I would think this could be easily done if virtual desktop managers could make the virtual desktops ---that they already maintain in memory--- available to remote desktop applications.
My needs come from the following situation. Often time, I have to provide support to remote users. In many cases, the support would take hours. Unfortunately, during this time, the user's computer is completely control by us and the user can't do anything. Now my question is whether there is a solution that would allow us to work and repair the user's computer on one virtual desktop while the user is actually working on the other virtual desktop attached the physical one.
Any input would be much appreciated.
Klaus.
The desktop versions of Windows are artificially limited by Microsoft to one desktop session at a time. They want you to spend the big bucks on Terminal Server if you want to have multiple sessions.
Workstation builds of Windows (with the notable exception of Media Center Edition, to support extender devices) are hardcoded to prevent concurrent sessions. That said, there are very unofficial third party binary patches that modify the Terminal Services code to remove the limitation.
Remote Desktop, from Microsoft is what you are looking for.
There are hacks for various versions of windows that allow concurrent Remote Desktop sessions. Here's one for Windows 7, but similar exist for vista and XP.

Resources