Guide to remote manage Hyper-V servers and VM's in workgroups or standalone

This guide is based on the following 3 products:
Windows server 2012 (core)
Windows 8
Hyper-V server v3 / Hyper-V server 2012
The following guide will enable you to:
1: remotely manage your Hyper-V Virtual Machines with Hyper-V manager
2: remotely manage your Hyper-V servers' firewall with a MMC snap-in.
3: remotely manage your Hyper-V server (2012) with server manager
! This should also work for Core installations of server 2012, but I haven't tried.
This guide is purely focussed on servers in a WORKGROUP, or as a stand alone.
I CAN NOT tell you what you need to do to get it working in a domain.
* You can run these commands straight from the console (Physically at the machine) or through RDP.
* You will need to be logged on as an administrator.
* Commands are listed in somewhat random order; I do however advise to follow the steps as listed.
* Commands with ? in front of them are only ment to be helpfull for troubleshooting,
* and to identify settings and changes made.
* Commands and instructions with ! in front of them are mandatory.
- server: means the server core or hyper-v server (non gui)
- client: means the machine you want to use for remote administration.
- Some commands are spread over 2 lines; be sure to copy the full syntax.
> To enable the Hyper-V manager to connect to your server, you need to perform the following 2 actions: (Assuming you have already installed the feature)
1:
! Client: Locate the C:\Windows\System32\Drivers\etc\hosts file.
! right-click --> properties --> security
! click --> edit --> add --> YOURUSERNAME or Administrator --> OK
! then select this new user, and tick the "modify"-box under the "allow"-section.
! apply the change, and close.
! doubleclick the file, and open with notepad
! add the ip-address and name of your server (no // or other crap needed)
! Save the file
# I recommend putting a shortcut to this file on the desktop.
# If you change the ip-address of your server (e.g. move the server from staging to a live environment)
# you might forget to do so in the hosts file.
# Hyper-V manager, MMC, RSAT, and Server-manager all rely on the hosts-file to resolve the name.
# some of these might connect to their respective service on an i.p.-level, but some don't.
# This is the main reason you need to modify this file.
! USE AN ELEVATED CMD/POWERSHELL PROMPT TO CONTINUE !
# the next config needs to be done on windows 8.
# It seems that it's already preconfigured under server 2012
2:
! Client: dcomcnfg
! open component services --> computers
! right-click -> my computer -> properties
! select "COM SECURITY" tab
! under "ACCESS PERMISSIONS" select "edit limits"
! select "ANONYMOUS LOGON", and tick "remote access" under ALLOW
# Without this adjustment, you can't connect to your Hyper-V server
# with the Hyper-V manager if you're not in a domain.
> And if you haven't done so already... make sure you have enabled remote management number 4 on the Hyper-V server console.
> Next, is to get the MMC firewall snap-in working.
   The reason for this, is to have a GUI available to configure it.
   If you're happy without it, you may skip this and use a shell instead to do so.
? server: netsh advfirewall show currentprofile
# shows the current profile (public/domain/private) and its settings
# depending on your needs, you should set the right profile to fit your needs.
# You can easily do this when the MMC snap-in is done. (after you've followed these steps)
! server: netsh advfirewall set currentprofile settings remotemanagement enable
# enables remote management of the firewall on an application level 
# (In other words: allows the firewall to be remotely managed)
! server: netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes
# allows remote management of the firewall, through the required firewall ports with TCP protocol.
# 4 rules will be updated to allow access: public & Domain, dynamic and endpoint-mapper.
# You can disable/add/change the rule from the MMC snap-in after finishing this guide.
# e.g. set the firewall through the MMC-GUI to only allow specific ip-addresses etc.
? server: netsh advfirewall firewall show rule all
# Shows a list of available rules, and their current state.
# when run from cmd, the list exceeds the maximum length for review.
# (from cmd,type:) start powershell, and run the command from there.
! Client: cmdkey /add:YOURSERVERNAME /user:USERNAMEONTHESERVER /pass:THEPASSWORDOFTHATUSER
# I recommend you to use a username with enough privileges for management
# All capital letters need to be replaced with your input
# CMD answers "credential added successfully" when you're done
! Client: locate MMC, and run it as an admin.
# In windows 8/2012, go to search and type MMC. Right-click the icon, 
# and choose run as admin on the bar below.
! Client: application MMC: select "file" --> Add/remove snap-in 
! --> (left pane) scroll down to "windows firewall" --> select and click "add"
! select "another computer"
! type the name of the server you want to manage (NO workgroup/ or //, just same name as you typed for cmdkey)
* Part 2 is done.
# Have a look by doubleclicking the firewall icon in the left pane.
# It looks and works the same as the GUI version that you are familiar with.
! Next is the Server Manager.
# Follow the steps listed to get your server listed and manageable in the server manager.
! Client: Open the created Firewall snap-in for your server.
! Find the 3 "Remote Event Log Management" entries in the list of INBOUND rules, and enable them.
! Open powershell --> in cmd windows, type: start powershell
! run the following line in powershell
! Client: in C:\Windows\system32> set-item WSMAN:\localhost\client\trustedhosts -value YOURSERVERNAME -concatenate
# WinRM Security Configuration.
# This command modifies the TrustedHosts list for the WinRM client. The computers in the TrustedHosts list might not be
# authenticated. The client might send credential information to these computers. Are you sure that you want to modify
# this list?
# [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
# I recommend to choose yes; unless you like to pull some more hairs...
! server: winrm qc
# WinRM service is already running on this machine.
# WinRM is not set up to allow remote access to this machine for management.
# The following changes must be made:
# Configure LocalAccountTokenFilterPolicy to grant administrative rights remotely
# to local users.
# Make the changes? y / n
!  select yes
! Client: open the server 2012 server manager
! click manage -> add server
! select the DNS tab, and type the name of your server
Done.
You can now manage your remote server through the familiar computer management GUI.
! Right-click your remote server, and select "Computer Management"
A few side notes:
? The Performance tab seems to list the local machine's performance, in stead of the remote servers'
? If you want Windows server backup, you need to right-click the server in the server manager, and select "add roles and features.
? it will then become available under the "computer management" of the remote server.
If you liked this guide you may thank my employer, Mr. Chris W.
for giving me the time to work it all out.
Cheers!

As a little update to the post, I'd like to add that replication, clustering and migration will not work in workgroup environments. Unless someone can provide an additional guide for this, I'd recommend anyone to no even bother to try.
To manage the standalone hyper-v server in a remote location over the internet, I would recommend the following:
Install windows 8 pro (x86 uses less resources!) as a vm on the host, and assign 2 network connections to it.
1 external (shared with host) (be sure you have a dedicated ip-address for it!)
1 internal connection.
What I did was this:
As soon as you've installed the win8 guest, proceed with the guide as described.
For the 1st step of the guide (hosts-file) use the ip-address you will later assign to the "internal" network switch of the host!
In my example, I'm using 10.0.0.1 for the host, and 10.0.0.2 for the guest.
To be clear: I first used the guide on a LAN-environment, and did all the steps from a "real" client to server on the LAN.
Then, installed the win8 guest on the host using the "real" clients' hyper-v manager over the LAN.
Next, assigned the 2 network connections to the VM, and configured them as follows:
external - as you would to be able to make your guest reach the internet.
internal - I used the following config:
ip-address: 10.0.0.2
subnet: 255.255.255.252
gateway - blank
dns - Blank
Now, when you get to the console of the hyper-v server (host) or RDP to it, go to network settings.
You'll see that the internal card has been added here as well.
Configure it as follows:
ip-address: static - 10.0.0.1
subnet: 255.255.255.252
gateway - blank
dns - blank
You should now be able to ping your guest (win8) on 10.0.0.2 if it's running.
Don't forget to enable ping response (option 4 on the host) to test connectivity the other way around as well (guest to host)
When you're done, you'll be able to RDP to the guest OS over the internet, and then connect to the host with server manager, hyper-v manager, and MMC.
Don't forget to enable each module on the hosts' firewall to make the snap-ins work!
Remote volume management requires your guest/client firewall INcoming ports to be enabled as well! not just the host.
Either update the firewall rules from the MMC gui as described in the guide, or use the following commands on the
hosts' powershell:
Enable the firewall rules with the command Enable-NetFirewallRule -DisplayGroup "USE_THE_COMMANDS_BELOW" (include the " " in the command)
Remote Service Management
Remote Volume Management
Remote Event Log Management
Remote Scheduled Tasks Management
Windows Firewall Remote Management
Windows Remote Management
You can get the list with Get-NetFirewallRule -DisplayName *management*
You can get the list with Get-NetFirewallRule -DisplayName *remote*
Commands provided with credits to F. verstegen
Cheers,
Michael.
Sigh...

Similar Messages

  • SCCM 2012 Software Update Management for Windows Servers and how to automatic set SCOM maintenance mode?

    Hi,
    We planning to go one level higher to automat and have more dynamic Software Update Management for Windows Servers. We have SCCM 2012 R2, SCOM 2012 R2 and SCO 2012 R2.
    Our plan is to pur server in an AD-Group to get Update Schedule, from the servers will be importet to an Collection for Automatic Update and reboot. If I understand Everything right SCOM can't read AD-Group and put then in an Schedule maintenance mode. SCOM
    can read reg value as exempel.
    IS there any smar way to make the SCOM Maintenance Mode Schedule dynamic?
    I found this
    http://www.scom2k7.com/scom-2012-maintenance-mode-scheduler/?
    /SaiTech

    You could use Orchestrator to put the servers from a specific collection, or AD group, in maintenance mode in SCOM. For an example see:
    http://www.systemcentercentral.com/orchestrator-how-to-scom-maintenance-mode-for-windows-computers-in-an-sccm-collection/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Hyper-V 2012 R2 Remote Management with Windows 8.1 using Microsoft Account (Workgroup)

    Hello,
    I've set up a Hyper-V 2012 R2 Server and tried to manage it from a Windows 8.1 with a Microsoft Account. Everything is in the same workgroup. After many searches, the only way is set up the server for remote access, install RSAT and log on with an Administrator
    account from the server in Server Manager console.
    So, this situation generates a question: since it's impossible to set up a Microsoft Account in Hyper-V server as a local user, it's impossible to use "the same account and password" way to establish a link between server and desktop? I must use
    a remote account for connection? Why Windows 8.1 local account and online account can't be merged as a single account?
    By the way, there are some consoles that cmdkey doesn't work, so it's not an option.
    Best regards.
    Herleson Pontes MCT | MCITP | MCSA | MCTS | MCP | MOS http://www.herlesonpontes.com.br – [email protected]

    I have not fully tried this myself but I know this:
    A microsoft account can only be added to Server as a User, and only after Desktop Experience has been added.  This is also how you enable the MSFT Store on Server.
    This also requires a Full install of Server and is not possible on the free Hyper-V Server SKU.
    But, the legacy Server Manager console that Hyper-V Manager is built on has no concept of this new user account type.  And neither does Kerberos (the default security mechanism).
    So, my guess is that the best you can do is treat it the same as any workgroup machines.
    If you use Azure AD and sync your domain credentials, you have the password equivalent.  But you still require some AD in the middle.  This is simply the current state of affairs.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Need Advice: Managing dev/prod servers and workflow.

    Hello, thanks for your help.
    I am currently running coldfusion dev server on my local machine, I use dreamweaver cs3 for coding/ftp, and have a shared hosting account with crystaltech.  I want to create a local test environment that runs on my coldfusion test server, nd be able to push those files to a live web address preferably with a dev.sitename.com extension. 
    In dreamweaver I have a site called "sitename1".  I have created a "testing server" with the local root of \coldfusion9\wwwroot\sitename1, my "Local Info" root folder is off my C:\\websites\sitename1\, and my remote folder is the \test\ folder off my TLD.. so www.sitename1.com\test\. 
    I can't seem to keep the files from the local testing server and my local info straight.  When I'm working in the local testing server and open a file I get "would you like to overwrite your local version of this file?"..  Also not all the files in the local testing environment we in the local info folder.
    What's the best way to work in a dev environment where you have a testing server, local files and a shared host?  How do I set up dreamweaver for best workflow and file management?
    Thanks for your help.
    Steve

    stephenvincent wrote:
    Hello, thanks for your help.
    I am currently running coldfusion dev server on my local machine, I use dreamweaver cs3 for coding/ftp, and have a shared hosting account with crystaltech.  I want to create a local test environment that runs on my coldfusion test server, nd be able to push those files to a live web address preferably with a dev.sitename.com extension. 
    In dreamweaver I have a site called "sitename1".  I have created a "testing server" with the local root of \coldfusion9\wwwroot\sitename1, my "Local Info" root folder is off my C:\\websites\sitename1\, and my remote folder is the \test\ folder off my TLD.. so www.sitename1.com\test\. 
    I can't seem to keep the files from the local testing server and my local info straight.  When I'm working in the local testing server and open a file I get "would you like to overwrite your local version of this file?"..  Also not all the files in the local testing environment we in the local info folder.
    What's the best way to work in a dev environment where you have a testing server, local files and a shared host?  How do I set up dreamweaver for best workflow and file management?
    I have no longer used Dreamweaver for some years now. I prefer Eclipse and ColdFusion Builder. However, some of the issues you mention are of a general nature, and apply to every developer, irrespective of the tool he uses.
    It is vital to keep the files of your site and test site separate. In fact, I expected you to have partitioned the directories like this:
    sitename1: c:\coldfusion9\wwwroot\sitename1\
    Domain: www.sitename1.com
    test_site: c:\coldfusion9\wwwroot\sitename1\test\
    Domain: www.sitename1.com/test
    Perhaps the most important aspect of separating the 2 sites is to give each its own Application.cfc file. The application  file for the site will be in the directory c:\coldfusion9\wwwroot\sitename1\ and will contain the code this.name="sitename1"; to name the application. The application  file for the test site will be in the directory c:\coldfusion9\wwwroot\sitename1\test and will contain the code this.name="test";.
    You should not aim to synchronize the files of your site with those of your test site. Such synchronization will defeat the purpose of testing. You test because there are faults. If there is  an open door between the test environment and your site, uncorrected faults will soon find their way to the site.
    I don't see any need for a "Local Info" site. The usual practice is to create a third environment, Acceptance, between Test and Site. Your workflow then proceeds as follows.
    Test => Acceptance => Site (production)
    In the Acceptance site, the aim is to mimic production before you actually go into production. You equip the tested code with application, configuration and other settings that mimic the production environment, and you test some more.
    Document the main issues that arise at every stage of the process. Software is complex human work. It usually happens that you have to reverse what you've done. That's where documentation is vital. When everything is to your satisfaction, move the files from Acceptance to the site.

  • WDS to deploy Hyper-V Servers and VMs

    I have several physical servers to deploy in the future.
    The physical server will have Hyper-V and 3 pre-configured/syspreped  VMs and of course the physical server will be "syspreped" too.
    I´ts fine to deploy it using WDS?
    It´s Ok, to deploy a sysprepd physical Hyper-V server via WDS?
    It´s Ok, to deploy a sysprepd physical Hyper-V server with 3 syspreped VMs inside it?

    Hi fborup,
    Are you trying to run sysprep a server which installed Hyper-V role for new server installation? Microsoft does not support the use of Sysprep for a computer that has been
    running in production for extended period of time and run sysprep then create a new image or clone from the computer. Sysprep is designed to prepare new installations of Windows for imaging.
    After Server 2008 Hyper-v you can sysprep a Hyper-V server but Sysprep doesn’t supported for a virtual network on Hyper-V. We must delete any virtual networks before run the
    Sysprep tool.
    The related KB:
    Sysprep Support for Server Roles
    http://technet.microsoft.com/en-us/library/hh824835.aspx
    Unsupported Sysprep scenarios
    http://support.microsoft.com/kb/828287
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.
    For Virtual networks that are of the type "External Network", these will be resetted to "Internal Network", since sysprep "generalizes" anything related to hardware. This can easily be changed back once redeployed. Hence you really
    don't need to delete any type of networks before running sysprep, and this goes for Server 2008, 2008R2, 2012 and 2012R2 (including 2012R2 with Update).

  • Remote Management: ARDAgent crashes before and after sleep

    If Remote Mangement is turned on, ARDAgent crashes the second you put the computer to sleep. It then takes 40 seconds (way too long to not confuse the users) until it sleeps.
    Awaking happens in reasonable time but ARDAgent crashes again.
    ARDAgent was reinstalled, caches cleaned, plist trashed.
    Thread 0 Crashed:
    0 com.apple.RemoteDesktopAgent 0x00024fa8 0x1000 + 147368
    1 com.apple.RemoteDesktopAgent 0x00063db1 0x1000 + 404913
    2 com.apple.RemoteDesktopAgent 0x0005c4c9 0x1000 + 373961
    3 ...ple.CoreServices.OSServices 0x917ce98a sleeplistenercallback + 219
    4 com.apple.framework.IOKit 0x933cfaca IODispatchCalloutFromCFMessage + 337
    5 com.apple.CoreFoundation 0x91dac535 __CFMachPortPerform + 117
    6 com.apple.CoreFoundation 0x91dd0901 CFRunLoopRunSpecific + 3921
    7 com.apple.CoreFoundation 0x91dd0cf8 CFRunLoopRunInMode + 88
    8 com.apple.HIToolbox 0x96effda4 RunCurrentEventLoopInMode + 283
    9 com.apple.HIToolbox 0x96effbbd ReceiveNextEventCommon + 374
    10 com.apple.HIToolbox 0x96f5e5f2 _AcquireNextEvent + 58
    11 com.apple.HIToolbox 0x96f5cd4f RunApplicationEventLoop + 207
    12 com.apple.RemoteDesktopAgent 0x00002d02 0x1000 + 7426
    13 com.apple.RemoteDesktopAgent 0x00002c5a 0x1000 + 7258

    You should probably post your question in the ARD forums:
    http://discussions.apple.com/forum.jspa?forumID=1007

  • Need Help in Remote Manager and OIM Configuration

    Guys,
    I am using OIM9.1.01 with Exchange 2010 , currently i have installed my remote manager on Exchange server, and its working fine. Now client want to remove Remote Manager from exchange server , and to be get install on some other server.
    will it possible to install Remote Manager on some other server than OIM and Exchange , if yes , how do i proceed with that.
    Thanks.

    Thanks Nishith Sirji,
    I am confuse about one thing , how do remote manager will understand "which database server is he going to create mailbox"? because currently I am executing powershell on exechange system only ,so no problem. but when i will installl it on some other system, how do my RM will know , where to create Maiilbox (which machine).
    do i need to configure my exchange box details anywhr in Remote Manager?
    Thanks.

  • Rd230 simple question re remote management module

    Hi,
    Just purchased and installed rd230. Installed win2008 R2 SP1 (manually...not with easystartup).
    I'm reading the user guide for remote management module. Looks great! One thing...how do I setup the RMM???(IP address...etc). It's not in the BIOS setup...I don't see any prompt at boot to enter a config utility for it....any help??
    Thanks
    M
    Solved!
    Go to Solution.

    You will find conrfiguration information and answers to other RMM related questions in
    ThinkServer RD230 and RD240 Remote Management User GuideThinkServer RD230 and RD240 Remote Management User Guide:
    download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkservers/00697mst.pdf

  • Logoff remote sessions to multiple servers for the same user

    Hi,
    I'm after some advice, I have a junior DBA working with me who has a tendancy to leave remote connections on various production servers, we have a large estate about 300 servers and trying to identify the servers is a difficult task.
    I was hoping to use SQL Server Management Studio / Registered servers and issue one simple command against all servers to logoff the account which has been left connected. I normally log into each server start Task Manager/Users and log off the account,
    this then stops the account locking but only when I have identified all servers he is still connected to. I have tried the comand prompt Logoff and session ID, this works great but the session ID on each server can be different.
    Any help or advice would be great! Thanks in advance.

    Hi
    I think it would be easier to enable session time out settings using GPO considering you work in a domain environment..
    Having session timeouts settings you could say... hey after 15 min of inactivity disconnect the user and then after 15 min of disconnected session log him off
    Take a look at this URL: http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope this helps
    Best regards
    Joaquin Camarero Muñoz

  • Disable the Remote Management Service?

    I know this is "Why would anyone want to do this" question but we are having conflicting issues in one of our labs between NetSupport and Zenworks when trying to run Adobe Flash. NetSupport is a tool that quite a few of our lab teachers use, it gives them the ability to see all of there students screens, take control of them, and a few other features, all from a console that runs on the teacher machine.
    The problem comes in when running Flash if the student tries to create a text box and scroll inside of it then the computer crashes. We contacted NetSupport for help with this and they had us run a reporting tool that looked at the hardware setup and driver information. Then they setup a test machine and tried to replicate the problem and they were not able to. However they tech did note that in the scan of the machine there could be a conflicting issue between NetSupports Mirror Driver and DemoForge TightVNC Mirror Driver. I assumed the latter was part of Zenworks remote management. So we stopped the remote management service on a machine and tried to replicate the problem. We did not encounter the problem so we turned the remote management service back on and sure enough as soon as we tried to replicate the problem again the machine crashed.
    Now when we tried to disable the remote management service in the services menu but it will not stay disable as soon as the machine restarts the remote management service is running and its set to automatic again.
    Is there anyway to disable (preferable) or remove just the remote management piece with out removing the rest of the client from the machines?
    Thanks,
    Mike

    You can configure this in the ZCC for which components you want
    installed. You can deselect Remote Management.
    Note: You can also disable or remove the Mirror Driver from the Devices
    Control Panel under Display Drivers and it will not come back.
    On 1/13/2012 2:36 PM, mshicks wrote:
    >
    > I know this is "Why would anyone want to do this" question but we are
    > having conflicting issues in one of our labs between NetSupport and
    > Zenworks when trying to run Adobe Flash. NetSupport is a tool that quite
    > a few of our lab teachers use, it gives them the ability to see all of
    > there students screens, take control of them, and a few other features,
    > all from a console that runs on the teacher machine.
    >
    > The problem comes in when running Flash if the student tries to create
    > a text box and scroll inside of it then the computer crashes. We
    > contacted NetSupport for help with this and they had us run a reporting
    > tool that looked at the hardware setup and driver information. Then they
    > setup a test machine and tried to replicate the problem and they were
    > not able to. However they tech did note that in the scan of the machine
    > there could be a conflicting issue between NetSupports Mirror Driver and
    > DemoForge TightVNC Mirror Driver. I assumed the latter was part of
    > Zenworks remote management. So we stopped the remote management service
    > on a machine and tried to replicate the problem. We did not encounter
    > the problem so we turned the remote management service back on and sure
    > enough as soon as we tried to replicate the problem again the machine
    > crashed.
    >
    > Now when we tried to disable the remote management service in the
    > services menu but it will not stay disable as soon as the machine
    > restarts the remote management service is running and its set to
    > automatic again.
    >
    > Is there anyway to disable (preferable) or remove just the remote
    > management piece with out removing the rest of the client from the
    > machines?
    >
    > Thanks,
    > Mike
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • ZCM Agent 11.3.x - Remote Management - Windows User Variable

    I noticed this back during the initial deployment of 11.3.1, however have not had a chance to comeback to it. Now we are at 11.3.2 and the issue seems to still be.
    On login we have a script that runs via a bundle it tracks user, date, time, computer login info to 2 locations, one on the local workstation to a hidden folder and 2 on the network.....
    It looks like this in the log file
    "pwolfe" , "192.168.x.x" , "LPTP-PWOLFE" , "Tue 02/03/2015" , "11:44:20.05"
    What I have noticed is if someone uses ZRM (Zen Remote Management) to manage the workstation / shadow a user for help or any other such thing...the next logon on the box will look like this
    "LPTP-PWOLFE$" , "192.168.x.x" , "LPTP-PWOLFE" , "Tue 02/03/2015" , "11:44:20.05"
    Notice the user variable went from the username to the computer name with a dollar sign. I would say it could be the script, however see below it works fine with the old agent installed.
    If you reboot the computer its fine, you can login and out time after time and it will display correctly. However if someone remote manages the computer it is broke until the next restart.
    here is the script that runs:
    for /f "Tokens=2 Delims=[]" %%i in ('ping -4 -n 1 "%computername%"') do set IP=%%i
    Echo "%username%" , "%IP%" , "%ComputerName%" , "%date%" , "%Time%" >>"\\192.168.x.x\support\utilities\logfiles\IPaddr essLog.txt"
    Echo "%username%" , "%IP%" , "%ComputerName%" , "%date%" , "%Time%" >>"C:\Utilities\IPaddressLog.txt"
    This is being called as a launch item under a user run bundle, it is set to run as logged in user.
    This is not happening on the older 11.2.4 separate Zone / server setup that is still in use for the majority of people. Just on the newer 11.3.x environment.
    If I remove the 11.3.x agent and install the 11.2.4 agent and point it to the old environment / server it works fine.
    Any ideas?
    Thanks,
    Patrick

    Originally Posted by CRAIGDWILSON
    What happens if you create a Shortcut to this bundle and run it manually after the desktop is up and active? (after a RC session that messes stuff up?)
    What happens if you create a bundle that runs "cmd.exe" as logged on user and run it manually while this other bundle is having issues? (type "set" from the cmd session....)
    Thanks Craig,
    I finally got some time to look at this again.
    It appears on the first logon to a computer it runs correctly, if a Remote Management session takes place and once logged off and a log in is initiated you get the incorrect information. If you run the application from the Zen App Window it displays correctly. If you reboot the computer it works as expected for the first logon and then stops working if a remote session is initiated.
    3 Straight logons, the 4th entry is when I ran it manually from the zen app window:
    "pwolfe" , "192.168.30.75 " , "TDLARM280-50125" , "Tue 03/03/2015" , "14:53:33.77"
    "TDLARM280-50125$" , "192.168.30.75 " , "TDLARM280-50125" , "Tue 03/03/2015" , "14:54:51.09"
    "TDLARM280-50125$" , "192.168.30.75 " , "TDLARM280-50125" , "Tue 03/03/2015" , "14:57:24.29"
    "pwolfe" , "192.168.30.75 " , "TDLARM280-50125" , "Tue 03/03/2015" , "14:58:22.51"
    Here is the "Set" CMD
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\pwolfe\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=TDLARM280-50125
    ComSpec=C:\Windows\system32\cmd.exe
    DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\pwolfe
    LOCALAPPDATA=C:\Users\pwolfe\AppData\Local
    LOGONSERVER=\\TDLARM280-50125
    NUMBER_OF_PROCESSORS=4
    NWLANGUAGE=ENGLISH
    NWUSERNAME=pwolfe
    OS=Windows_NT
    Path=C:\ProgramData\Oracle\Java\javapath;C:\Progra m Files (x86)\Intel\iCLS Clien
    t\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows
    \System32\Wbem;C:\Windows\System32\WindowsPowerShe ll\v1.0\;C:\Program Files\Inte
    l\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Mana
    gement Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management En
    gine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Comp
    onents\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Progra
    m Files (x86)\Novell\ZENworks\bin;C:\Program Files (x86)\QuickTime\QTSystem\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WS F;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=3a09
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell \v1.0\Modules\
    PUBLIC=C:\Users\Public
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\pwolfe\AppData\Local\Temp
    TMP=C:\Users\pwolfe\AppData\Local\Temp
    USERDOMAIN=TDLARM280-50125
    USERNAME=pwolfe
    USERPROFILE=C:\Users\pwolfe
    VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtecti on
    windir=C:\Windows
    WINDOWS_LOGIN=0
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpac kage\csilogfile.log
    ZENWORKS_HOME=C:\Program Files (x86)\Novell\ZENworks

  • Problem connecting to Remote Manager

    Hi,
    We installed Remote manager on AD 2008 machine
    Then followed AD 2008 connector documentation copied the RM_HOME/xlremote/config/xlserver.cert file to OIM Machine
    Imported the RM certificate by using the keytool utility to OIM .xlkeystore
    started remote manger.
    could not connect through design console by double-click Remote Manager. (No Remote Manager Currently running)
    Then copied the oim Certificate (OIM_HOME/xellerate/config/xlserver.cert file) to RM machine and imported the certificate
    to RM .xlkeystore and tried again...still could not connect
    (could not connect to remote manager in Design console and can't create IT Resource for Remote Manager).
    Thanks..
    Edited by: IDMuser19 on Nov 10, 2009 10:02 AM
    Edited by: IDMuser19 on Nov 10, 2009 10:03 AM
    Edited by: IDMuser19 on Nov 10, 2009 10:04 AM

    Works fine now..thanks

  • Remote Manager Connection Problem 11g IAM

    Hi All,
    I have installed Remote manage on the Microsoft Exchange 2010 box as The Remote Manager is used by Oracle Identity Manager to invoke the Exchange Management Shell script to create mailboxes in Microsoft Exchange 2010.
    After installation I have created the Remote Manager IT Resource on the Admin and User console. This resource is not able to establish connection to the Remote Manager.
    It gives the error:
    "Click Back to correct the connection parameters and re-test connection or click Continue to create the IT Resource anyway"
    I have copied all the required files to the remote manager from the OIM and also enabled the SSL connection by importing the RM server cert into OIM. I am also able to telnet on the port 12346 from OIM server. since I am using 11g OIM so the port is 12346.
    I have done all what is required for the SSL communication , still no luck .... any ideas?

    ok... i have done it ....
    2 things ...
    on windows local firewall allow java...
    and the port for 11.1.x is 12345 not 12346.......
    in oracle documentation its mention as 12346.... but at some other place in oracle itself its 12345......
    :)

  • Remote Management of Hyper-V Across One-Way Trust

    In order to abstract our hardware from the platform, we would like to virtualize all of our physical machines, installing Hyper-V server and just running one VM on Hyper-V. We hope this will allow us to quickly migrate machines that currently cannot be on
    our virtual environment for whatever reason.
    We set up a management domain for all of the Hyper-V servers separate from our main domain. A one way trust was established between the main domain and the management domain, with the management domain trusting the main domain. On the management domain,
    we created a domain local group, called Management Domain Admins, which contains the foreign security principals from the main domain. The Management Domain Admins group is added to the Hyper-V built in Administrators group.
    Now here is the problem, from a workstation in the main domain, we can manage every part of that server except for adding a virtual hard disk. We can manage the firewall, we can look through the event log, we can create virtual machines and connect them
    to existing virtual hard disks, but we cannot create a virtual hard disk. The log returns:
    The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
    We disabled the firewall on both the workstation and the server with the same result. Using a workstation WITHIN the management domain, logging in with an account from the main domain, we can create a virtual hard disk. We have also tried enabling anonymous
    DCOM and adding the Hyper-V server to the Trusted Hosts list in WinRM to no avail. Also, using inline authentication, we can create virtual hard disks on the server BEFORE adding it to the domain. But as soon as it's added to the domain, we can no longer create
    hard disks.
    Appreciate any insight!

    I hope it isn't the trust and it's something dumb I forgot to set. I checked again and "cscript .\hvremote.wsf /anondcom:grant" returns "INFO: Nothing to do - ANONYMOUS LOGON already has remote access"
    Thanks!
    The event is generate from DCOM, 10028
    DCOM was unable to communicate with the computer <myserver> using any of the configured protocols; requested by PID      a34 (C:\Windows\system32\mmc.exe).
    The full trace is:
    2013-07-24 07:59:24.988 [15] USER_ACTION_INITIATED Wizards NewVirtualHardDiskWizard:CreateVirtualHardDiskOnBackgroundThread() Creating new virtual hard disk ...
    2013-07-24 07:59:24.997 [15] USER_ACTION_INITIATED VirtMan ImageManagementServiceView:BeginCreateVirtualHardDisk() Starting creating dynamic virtual hard disk 'D:\Hyper-V\Virtual Hard Disks\test.vhdx' (size = '136365211648')
    2013-07-24 07:59:26.645 [15] ERROR Wizards VMWizardForm:PerformWizardActionInternal() Failed to perform wizard action!
        The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
           at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.ManagementClass.CreateInstance()
       at Microsoft.Virtualization.Client.Management.VirtualHardDiskSettingData.GetVirtualHardDiskSettingDataEmbeddedInstance(String serverName, String namespacePath)
       at Microsoft.Virtualization.Client.Management.ImageManagementServiceView.BeginCreateVirtualHardDisk(VirtualHardDiskType type, VirtualHardDiskFormat format, String path, String parentPath, Int64 maxInternalSize)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.CreateVirtualHardDiskOnBackgroundThread(Server server, VirtualHardDiskFormat hardDiskFormat, VirtualHardDiskType hardDiskType, String filePath, ConfigurationInfo configBase)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.PerformWizardAction(Object stateObj)
       at Microsoft.Virtualization.Client.Wizards.VMWizardForm.PerformWizardActionInternal(Object stateObj)
    2013-07-24 07:59:26.754 [16] ERROR Wizards VMWizardForm:WizardActionFailed() Wizard action failed!
        The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
           at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.ManagementClass.CreateInstance()
       at Microsoft.Virtualization.Client.Management.VirtualHardDiskSettingData.GetVirtualHardDiskSettingDataEmbeddedInstance(String serverName, String namespacePath)
       at Microsoft.Virtualization.Client.Management.ImageManagementServiceView.BeginCreateVirtualHardDisk(VirtualHardDiskType type, VirtualHardDiskFormat format, String path, String parentPath, Int64 maxInternalSize)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.CreateVirtualHardDiskOnBackgroundThread(Server server, VirtualHardDiskFormat hardDiskFormat, VirtualHardDiskType hardDiskType, String filePath, ConfigurationInfo configBase)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.PerformWizardAction(Object stateObj)
       at Microsoft.Virtualization.Client.Wizards.VMWizardForm.PerformWizardActionInternal(Object stateObj)
    2013-07-24 07:59:26.755 [16] ERROR Client InformationDisplayer:GetErrorInformationFromException() Application encountered a non-VirtMan exception! Not going to display non-localized message to user.
    2013-07-24 07:59:26.756 [16] ERROR Client UnhandledExceptionHandler:HandleThreadExceptionInternal() Application encountered an unexpected exception!
        The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
           at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.ManagementClass.CreateInstance()
       at Microsoft.Virtualization.Client.Management.VirtualHardDiskSettingData.GetVirtualHardDiskSettingDataEmbeddedInstance(String serverName, String namespacePath)
       at Microsoft.Virtualization.Client.Management.ImageManagementServiceView.BeginCreateVirtualHardDisk(VirtualHardDiskType type, VirtualHardDiskFormat format, String path, String parentPath, Int64 maxInternalSize)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.CreateVirtualHardDiskOnBackgroundThread(Server server, VirtualHardDiskFormat hardDiskFormat, VirtualHardDiskType hardDiskType, String filePath, ConfigurationInfo configBase)
       at Microsoft.Virtualization.Client.Wizards.NewVhd.NewVirtualHardDiskWizard.PerformWizardAction(Object stateObj)
       at Microsoft.Virtualization.Client.Wizards.VMWizardForm.PerformWizardActionInternal(Object stateObj)

  • Remote Management and Windows VNC clients

    Hey guys,
    I recently had a go at getting the built-in VNC server in Leopard (as part of remote management) up and running.
    Remote control works flawlessly from other Macs, but it refuses connections to Windows clients most of the time (throws up errors like 'Error waiting for server message' or something).
    Any ideas? I thought it might have something to do with the Windows client not understanding the encryption, but haven't found any way to change security settings.
    Thanks in advance!

    Have you giving the server a VNC password?
    System Preferences -> Sharing -> Remote Management -> Computer Settings -> VNC viewers may control screen with password: xxxxxxx
    What VNC client are you using on Windows. Not all VNC clients are created equal? I know about TightVNC (which has been reported to work), RealVNC, and UltraVNC are 3 that I've heard about.
    You can also install your own VNC server (in parallel using a different port or instead of the Mac OS X VNC). Vine Server (aka OSXvnc) has been used successfully for years. After all not all VNC servers are created equal either

Maybe you are looking for

  • My 5th Gen iPod Touch will not sync after I updated my iTunes

    Right after I updated my iTunes on my PC, it will no longer sync anything. My apps, my music, everything won't sync. It just says that I can't sync because I need more space (8.30GB to be exact). But before I updated my iTunes, everything was fine. T

  • Cant upgrade macbook pro to yosemite

    I am trying to update my macbook pro which is running Snow Leopard. I have time machine setup to backup to an external hard drive and this appears to be doing the right thing. I have been through the process of downloading the Yosemite upgrade but wh

  • Downgrading quad G5 to 40GB SATA - Kernel Panic

    Howdy folks - I own a G5 Quadcore that came with a 250GB SATA HD. I purchased a second drive (both are Western Digital Caviar SE) and installed it as my backup drive. Everything works great, no issues. I bought a Western Digital 40G SATA (also a Cavi

  • Reusing dynamically loaded movies

    Hello, I am trying to reuse a dynamically loaded movie which has been loaded with a movie clip loader. The movie loads fine and can be displayed once with no problem. However, I would like to be able to store this movie so that it can be resused agai

  • Help sony dcr-sr57 not working with imovie 09

    I have a Handycam sony dcr-sr57e PAL. It is a compatible camera for imovie 09 (http://support.apple.com/kb/HT3290?viewlocale=it_IT#7). But imovie don't recognize its files (mpeg 2). I can see mpeg2 files with quicktime X (i have mpeg2 component for q