Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Create a script to deploy some Software

Hi

I need to create a script to deploy some software into some machines in my network
I don’t want to use GPO in a policy, I want to deploy the software with a script.

The software will install when users login, but my problem is that some users don’t have installations permissions.

My question is how can i make a script that pass-through the permissions and install the software?
My other problem is that if i use the script logon option in the user that script logon maybe in use by another script logon that the domain use.

Any ideas?

Tks
0
Luciano Patrão
Asked:
Luciano Patrão
  • 3
  • 3
  • 2
  • +2
2 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Use group policy.  I know, you said you don't want to use group policy.  Depending on the software, you may have restrictions.

If you want more advice, you need to provide more information - WHAT software are your trying to install?  WHY can't you use Group Policy?
0
 
Luciano PatrãoICT Senior Infraestructure Engineer Author Commented:
Hi leew

Tks for the reply

I can’t use policy Group because the client don’t use, and don’t want to use it. So I need to use an alternative way.

The Software is a application that the my client have. And he wants to install the application client in some machines, and a certificate. I have a script(bat file) that install automatic the certificate in the machine(but need human present to choose some choices). I have tested the script in my laptop and it works fine. But now i want to install the application client and the script certificate.

But the problem is that some users don’t have install permissions. How ca i pass that?

Again tank you for your reply.
0
 
McKnifeCommented:
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Dark_KingCommented:
Try CPAU from here http://www.joeware.net/win/free/tools/cpau.htm
It funktion like "runas" but you can encode password and the rest to a jobfile.

0
 
Kevin HaysIT AnalystCommented:
I would still question why the client doesn't want to use group policy.  From a professional stand point you DO want to use GPO's.  You pass the installation requirements by using GPO's such as software packages that get deployed via either user or computer configurations that are in specific OU's.  Another way would be to create an administrative install perhaps to a network drive and then map the .msi or .exe file in the bat script to that location.  This is not an approach I would take though.

I'm sure I and leew can both provide many pros as to why you should use GPO's.

kshays
0
 
Luciano PatrãoICT Senior Infraestructure Engineer Author Commented:
Hi all

Sorry that I don’t answer before.

kshays: Like i said the client don’t want to use GPO's, and if he dont want to use(after i explain that is the best way) he is on is right and the costumer is always right :)

So GPO´s is no possible.

I resolve the problem using McKnife and Dark_King solution.

So I will share the points

Tanks to you all
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Are you the consultant?  What are they paying you for if you are not advising them?  If you haven't learned that the customer is NOT always right, you need to - especially in technology - the customer often doesn't understand the technology which is why you are there to explain it to them and in turn, the customer is not always right.
0
 
Kevin HaysIT AnalystCommented:
I'm not concerned about the points and I was considering if I should even post anything back regarding the client not wanting to use GPO' and wanting to buy a 3rd party to provide methods of what they want to do.

I'll have to agree with leew !

just my opinion though :)

kshays
0
 
Luciano PatrãoICT Senior Infraestructure Engineer Author Commented:
leew,

When you go to a customer you advice the costumer what is the best way to deal with a problem and/or a new implementation. If you have a costumer that knows something the talk will be more easy to understand, but if not you advice the costumer what is the best way to do the job, but in the end THE COSTUMER IS WO DECIDE WHAT HE WANTS TO IS NETWORK. You can only advice him. If he says “I don’t want a GPO installed in this network, and give an alternative...” what you will do, after showing what can be done?? You give up and go out of the door? No you give to the costumer is alternative way.

So like I said, because the costumer is paying, the costumer will take what they want. If I see that an alternative will give a break on security or on the Network I don’t do an alternative, but we are talking about a software deployment

To finish this topic: This costumer is a Govern department and this are they rules about the Network in this department and they cannot change the rules whiteout government approval

0
 
Kevin HaysIT AnalystCommented:
So basically he will be maintaining the network after you are through with this and he doesn't understand group policies?  If that is the case then it's more understandable I guess.

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now