Hi, 

I am trying to install IBM Rational Rhapsody 7.6 in a silent manner so followed the instructions provided here

 http://www-01.ibm.com/support/docview.wss?uid=swg21403863

Everything is going well, applied all the changes required according to my Orgn. But the problem is whn I am trying to login as another user and launches the application I am getting this error 

Could anybody provide some instucions how to get rid of this?? 

Intrestingly When I launch the same appliation at this time as Run as an adminstrator it is working but the users will not have the admion access as we have lockdown environment. 

2) I looged in as a Admin and When I am trying to launch for the first time Windows FireWall is blocking the application Lanch and gave me a popup like below screenshot, so I had to give my Admin credentials to get it unblocked, Once I do that step this application was added to Windows Firewall Exception List. BUt mine is LockDown Environment so is therre any way to add this application to Windows Firewall Exception list automatically??

 

 

Answer Summary:
- For network fire wall exception netsh advfirewall firewall add rule name="MyApp" dir=in action=allow program="C:\Program Files\Myapp\Myapp.exe" enable=yes LocalSubnet profile=domain - For first question before the installation begins add this environmental variable IgnoreAllUsersProfile=TRUE after the installation remove that for that i used this vbscript before the installation strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objVariable = objWMIService.Get("Win32_Environment").SpawnInstance_ objVariable.Name = "IgnoreAllUsersProfile" objVariable.UserName = "" objVariable.VariableValue = "TRUE" objVariable.Put_ so after the installation to remove that environmental variable use this strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * from Win32_Environment Where Name = 'IgnoreAllUsersProfile'") For Each objItem in colItems objItem.Delete_ Next Cheers
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

As per the websites above used this command and its adding the application to exceptional list in per machine basis only for domain users, TY

netsh advfirewall firewall add rule name="MyApp" dir=in action=allow program="C:\Program Files\Myapp\Myapp.exe" enable=yes LocalSubnet profile=domain

Answered 08/02/2012 by: ontari.ontari
Black Belt

Please log in to comment
2

Rather than writing a script for firewall, i would recommend you to talk to your security team first and get their approval.

Answered 08/02/2012 by: piyushnasa
Red Belt

  • Security Team? you have one of them for PC's. Our security team just worries about active shooters on campus and that type of problems. We a have network security person that is (no comment)
  • Yeah I mean network security. We call them Security team here.
  • That was just my twisted Friday humor.
  • :)
Please log in to comment
1

For the issue #1, Use ProcessMonitor and identify the permission issue

Answered 08/02/2012 by: jagadeish
Red Belt

Please log in to comment
0

to add to list

netsh firewall set allowedprogram program = program name = name mode = enable

http://technet.microsoft.com/en-us/library/cc775783(v=ws.10).aspx

Answered 08/02/2012 by: SMal.tmcc
Red Belt

Please log in to comment
0

For the first part, did the install just create that structure under the user you installed with and that the user "swapps" is a second account and does not have that structure?

Answered 08/02/2012 by: SMal.tmcc
Red Belt

  • yes it created a structure under the user I installed but when I logged into the same machine with user name "swapps" there is no structure :(
  • if this is a deployed image try to add a line to copy/move that structure to default user.
    if this is a running machine any existing profiles will not get this structure
  • This content is currently hidden from public view.
    Reason: Removed by user request
    For more information, visit our FAQ's.
  • I know the others will tell you to use active setup to create this for each user
    http://www.itninja.com/blog/view/appdeploy-articles-activesetup
  • Its a new deployment so I can use below mentioned script to do the work. So will give an attempt
  • use the move command at the end of your install to do that, will take only one line then
    Move /y %userprofile%\IBM c:\users\default
Please log in to comment
0

if you look at this link they created a vb to copy a file for cisco you can modify this for your needs

http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/1d630ba3-275f-494f-9a16-528d6b9c2725/

Answered 08/02/2012 by: SMal.tmcc
Red Belt

Please log in to comment
-2

YOu can also run installrite/picturetaker to capture the settings when u hit AllowAccess. I remember it will write to some registry key like policies\firewall..

Answered 08/03/2012 by: hrs2cool
Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity