by j07070 at 2012-12-17 09:46:30
I’m looking for some good examples on how to leverage Powershell remote scripting (for things like remote administration, installing software from network shares, etc) while leaving the UAC of 64 bit Windows 7 enabled at the default level.by coderaven at 2012-12-17 12:31:07
The insight is of this community is really appreciated.
I have done some software deployments through PowerShell and I always tried to use the task scheduler to get around UAC. By automating the schtask.exe to create my installs I could have msiexec run when and in a method I wanted, all wrapped nicely in PowerShell. Other than that software deployment can be difficult to predict depending on so many factors.by nohandle at 2012-12-18 03:43:04
[quote=“j07070”]I’m looking for some good examples on how to leverage Powershell remote scripting (for things like remote administration, installing software from network shares, etc) while leaving the UAC of 64 bit Windows 7 enabled at the default level. .[/quote]
That is quite broad question. There is great ebook that covers the remoting: http://www.ravichaganti.com/blog/?p=1305 and there are also “new” things like delegating administrator access covered in “Microsoft Windows PowerShell 3.0 First Look” book.
And of course youhave to get at least the general idea of how the UAC on the windows works and what should it prevent you from - various books on windows 7 covers it, or you can start from here:
You are gonna be interested in the whole architecture of powershell on windows 64 bit and how its 32 bit part works with WOW64. No book or article that covers all of it I am aware of.
Finally, here are some articles that should get you started on the installation:
http://technet.microsoft.com/en-us/libr … 47651.aspx
http://www.thehijax.com/using-powershel … -software/
At my company we use proprietary software to schedule and maintain the deployment, and the actual installation is handled by local script that runs as privleged user.