Windows Vista

You are currently browsing the archive for the Windows Vista category.

Something new got created in PowerShell 2.0 for users who create scripts. It is called PowerShell Integrated Scripting Environment (ISE) and you can find executable where you have powershell installed, “powershell_ise.exe” and I found it in “C:\WINDOWS\system32\windowspowershell\v1.0″.
After you start it, you will see window looking like this:
ps20ise

Someone already online created some aliases that you can add to your powershell profile, so when you type let’s say: “ise” in powershell it will open ISE.
So yeah, if you google it, you will find somewhere a note on that code:

function Invoke-ISE{
param (
[string[]]$file,
[string]$path="$pshome\powershell_ise.exe"
) 

if($file){
foreach($f in $file){
   & $path (resolve-path $f)
}
} else {
   & $path
}
}

Set-Alias ISE Invoke-ISE

From Microsoft site.
From a blog :)

Have fun using ISE.

When you deploy your image using WinPE, it creates nice log under:
c:\Windows\temp\DeploymentsLogs

One TIP for whoever will read this, is:
Download “SMS 2003 Toolkit 2″ and check out “SMS Trace”.

If you want to analyze any of the logs, they are presented to you in human-readable form.

You will find out more small little useful applications, once you install the toolkit.

My friend from work (John B.) found something out when we experienced some problems with UAC and installing PDF printers. So, to keep note of it, adding it to the blog.

Here you go:
—————–
Looks like the GP settings for point and print are a bit tricky with Vista.
Instead of disabling Point and Print Restrictions (under User Configuration\Administrative Templates\Control Panel\Printers), it looks like you need to enable it and then configure the following settings inside:

  • Users can only point and print to these servers: Unchecked.
  • When installing drivers for a new connection: Do not show warning or elevation prompt.
  • When updating drivers for an existing connection: Do not show warning or elevation prompt.

I did this to the local group policy using gpedit.msc on two vista machines and was able to connect and print to the PDF server without any elevation prompts/access denied errors. I performed one test as an admin user and one as a standard user; both times UAC was enabled.
—————–

Locations of visitors to this page