Clear Pending Reboot
Microsoft Data Protection Manager, Windows November 16th, 2012 by Shai Perednik

Photo by absoblogginlutelyIn many cases DPM will create a registry key requiring a reboot. This will prevent DPM from client<;-->;server communications from working till a reboot occurs.
Although not recommended by the documentation, I’ve successfully cleared this flag hundreds of times. There are several ways to do it.
- Create a .reg file with the line below. Run it and merge it into the registry, it will delete the offending key:
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\2.0\RebootRequired] - Via PowerShell:
rm “HKLM:\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\2.0\RebootRequired” - Via PowerShell and PSExec on a remote machine:
PsExec.exe \\servera l -s -e -h powershell “rm ‘HKLM:\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\2.0\RebootRequired’
Note that there are several other “pending reboot” flags that can be created. Again, not recommended but you can remove them. Below are the ones I’ve found so far.
- rename the registry key: “PendingFileRenameOperations” to “PendingFileRenameOperations2″. It can be found under “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager”.
Tags: Pending Reboot, reboot required, System Center Data Protection Manager, Windows Registry
Creat-ADUsers and Assign Them to Groups
Scripting, Shopping, Uncategorized, Windows November 15th, 2012 by Shai Perednik

Photo by Andrea Beggi
Photo by Andrea BeggiToday I was asked to create accounts for several users in several of our domains. After asking several people it turns out that although we are an enterprise environment, we have been creating accounts manually.
After some google-ing I found http://gallery.technet.microsoft.com/scriptcenter/PowerShell-Create-Active-7e6a3978. While that code works, it does have syntax errors. I fixed those and added the ability to add the new user to the same groups as an existing user.
While I have tested this, I still suggest running this in dev first and validating the results.
Save as Create-ADUsers.ps1
########################################################### # AUTHOR : Shai Perednik / Hican - http://www.hican.nl - @hicannl # DATE : 11/15/2012 # COMMENT : This script creates new Active Directory users # including different kind of properties based # on an input_create_ad_users.csv. # Based on : http://gallery.technet.microsoft.com/scriptcenter/PowerShell-Create-Active-7e6a3978 ########################################################### Import-Module ActiveDirectory # Get current directory and set import file in variable $path = Split-Path -parent $MyInvocation.MyCommand.Definition $newpath = $path + "\import_create_ad_users.csv" # Define variables $log = $path + "\create_ad_users.log" $date = Get-Date $i = 0 # Change this to the location you want the users to be created in your AD # FUNCTIONS Function createUsers { "Created following users (on " + $date + "): " | Out-File $log -append "--------------------------------------------" | Out-File $log -append Import-CSV $newpath | ForEach-Object { # A check for the country, because those were full names and need # to be landcodes in order for AD to accept them. I used Netherlands # as example If($_.CO -eq "United States") { $_.CO = "US" } # Replace dots / points (.) in names, because AD will error when a # name ends with a dot (and it looks cleaner as well) $replace = $_.CN.Replace(".","") If($replace.length -lt 4) { $lastname = $replace } Else { $lastname = $replace.substring(0,4) } # Create sAMAccountName according to this 'naming convention': # <FirstLetterInitials><FirstFourLettersLast<span class="wp-decoratr-image"><img src="http://farm3.static.flickr.com/2056/2269753565_222e3ede4b_m.jpg" alt="user vrusnak logging off domain FOLEY one last time" /> <a href="http://www.flickr.com/photos/61239744@N00/2269753565" rel="external nofollow">Photo by V'ron</a></span>Name> for example # hhica #$sam = $_.Initials.substring(0,1).ToLower() + $lastname.ToLower() $sam = $_.LogOnName Try { $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$sam)" } Catch { } If(!$exists) { $i++ # Set all variables according to the table names in the Excel # sheet / import CSV. The names can differ in every project, but # if the names change, make sure to change it below as well. $setpass = ConvertTo-SecureString -String $_.Password -AsPlainText -force New-ADUser -Name $sam -GivenName $_.FirstName -Initials $_.Initials -Surname ` $_.LastName -DisplayName $_.DisplayName -Office $_.OfficeName -Description ` $_.Description -EmailAddress $_.Mail -StreetAddress $_.StreetAddress -City ` $_.L -PostalCode $_.PostalCode -Country $_.CO -UserPrincipalName ` $_.UPN -Company $_.Company -Department $_.Department -EmployeeID ` $_.ID -Title $_.Title -OfficePhone $_.Phone -AccountPassword $setpass # Set an ExtensionAttribute $dn = (Get-ADUser $sam).DistinguishedName $ext = [ADSI]"LDAP://$dn" # $ext.Put("extensionAttribute1", $_.ExtensionAttribute1) # $ext.SetInfo() # Move the user to the OU you set above. If you don't want to # move the user(s) and just create them in the global Users # OU, comment the string below Move-ADObject -Identity $dn -TargetPath $_.Location # Rename the object to a good looking name (otherwise you see # the 'ugly' shortened sAMAccountNames as a name in AD. This # can't be set right away (as sAMAccountName) due to the 20 # character restriction $newdn = (Get-ADUser $sam).DistinguishedName Rename-ADObject -Identity $newdn -NewName $_.CN #Add the user to groups if InheritGroupsFromUser is declared in the csv if ($_.InheritGroupsFromUser) { SetupGroupMemberships -InheritGroupsFromUser $_.InheritGroupsFromUser -UsertoModify $newdn } $output = $i.ToString() + ") Name: " + $_.CN + " sAMAccountName: " $output += $sam + " Pass: " + $_.Password $output | Out-File $log -append } Else { "SKIPPED - ALREADY EXISTS OR ERROR: " + $_.CN | Out-File $log -append } } "----------------------------------------" + "`n" | Out-File $log -append } function SetupGroupMemberships{ param ([string]$InheritGroupsFromUser, [string]$UsertoModify) #get the group membership of an example user $ADGroups = (Get-ADUser -Identity $InheritGroupsFromUser -Properties MemberOf | Select-Object MemberOf).MemberOf #Loop through the retrevied groups and add them to the user created in the createUsers function foreach ($ADGroup in $ADGroups) { Add-ADGroupMember -Identity $ADGroup -Member $sam } } # RUN SCRIPT createUsers #Finished
In the same directory create a csv file with the following columns.
Quicken Essentials on a Macbook Nano
Applications, Mac March 9th, 2010 by Shai Perednik
UPDATE: See below for the fix.
I just purchased the new Quicken Essentials for mac to run on my MSI Wind Macbook Nano only to find out that the icon is marked with an strikeout.

When you double click the icon your told
“You cannot use this version of the application Quicken Essentials.app with this version of Mac OS X.

The Quicken Essentials requirements say Leopard or Snow Leopard. So is it possible Intuit has actually hard coded “Atom=False” to prevent Atom users from running the app?
FIX
I’ve found the issue and the fix.The minimum requirements are 10.5.8 and I’m running to 10.5.7. So here’s the fix:
- Right click Quicken Essentials.app
- Click “Show Package Contents”
- Open the “Contents” folder
- Open the info.plist
- Look for “Minimum system version”
- It will have a value of “10.5.8″. Change that to “10.5.7″.
That’s it. The icon still has the slash across it, but it opens and works fine on my 10.5.7 Macbook Wind. You could probably change it to 1o.5.6 or whatever, but I havn’t tested that.
Tags: application, atom, Essentials, Hackintosh, intuit, Leopard, Mac OS, macbook, MSI, nano, netbook, quicken
Concurrent Remote Desktop Sessions in Windows XP SP2
Windows October 19th, 2009 by Shai Perednik
Ran into this post while trying to get concurrent remote desktop connections working. Havn’t tried it, but it should work.
Quoted from source below:
I mentioned before that Windows XP does not allow concurrent sessions for its Remote Desktop feature. What this means is that if a user is logged on at the local console, a remote user has to kick him off (and ironically, this can be done even without his permission) before starting work on the box. This is irritating and removes much of the productivity that Remote Desktop brings to Windows. Read on to learn how to remove that limitation in Windows XP SP2
A much touted feature in SP2 (Service Pack 2) since then removed was the ability to do just this, have a user logged on locally while another connects to the terminal remotely. Microsoft however removed the feature in the final build. The reason probably is that the EULA (End User License Agreement) allows only a single user to use a computer at a time. This is (IMHO) a silly reason to curtail Remote Desktop’s functionality, so we’ll have a workaround.
Microsoft did try out the feature in earlier builds of Service Pack 2 and it is this that we’re going to exploit here. We’re going to replace termserv.dll (The Terminal Server) with one from an earlier build (2055).
To get Concurrent Sessions in Remote Desktop working, follow the steps below exactly:
- Download the termserv.zip file below and extract it somewhere. (You have to be registered to see the file)
- Reboot into Safe Mode. This is necessary to remove Windows File Protection.
- Copy the termserv.dll in the zip to %windir%\System32 and %windir%\ServicePackFiles\i386. If the second folder doesn’t exist, don’t copy it there. Delete termserv.dll from the dllcache folder: %windir%\system32\dllcache
- Merge the contents of Concurrent Sessions SP2.reg file into the registry.
- Make sure Fast User Switching is turned on. Go Control Panel -> User Accounts -> Change the way users log on or off and turn on Fast User Switching.
- Open up the Group Policy Editor: Start Menu > Run > ‘gpedit.msc’. Navigate to Computer Configuration > Administrative Templates > Windows Components > Terminal Services. Enable ‘Limit Number of Connections’ and set the number of connections to 3 (or more). This enables you to have more than one person remotely logged on.
Tags: Build, Extract, IO, ma, Microsoft, Remove, terminal, way, wind, workaround, XP
BumpTop Gets Amazing-Looking Multi-Touch on Windows 7 [Desktop]
My Clippings, Windows October 1st, 2009 by System
Automatically pulled from Google Starred
BumpTop, the 3D desktop overlay we’ve drooled over since prototype, has added multi-touch support for Windows 7 and hardware that supports it. It’s a logical step, and it makes a neat actual-desktop-as-desktop metaphor seem truly real.
The video really says it all, but BumpTop’s blog details the specific finger actions you can undertake with BumpTop running on Windows 7. Here’s a small sampling:
Would a finger-controlled desktop make your file, photo, and other operations that much more simple, or would you spend way too much time tossing things around? Tell us your take on multi-touch BumpTop in the comments.
Install Picasa 3.5 in Linux [Picasa]
Linux September 30th, 2009 by System
Automatically pulled from Google Starred
Want the same kind of facial recognition, name tagging, and easy geo-location of Picasa 3.5 for Windows and Mac on your Linux desktop? There’s no official release, but you can fairly easily plug Picasa into your system.
The OMG! Ubuntu! blog tried it out first, and found that by having Picasa 3.0 installed, then installing Picasa with a standard WINE configuration (here’s how to set one up) and moving its files into Google’s own Picasa-optimized WINE folder on your system, you can basically upgrade to 3.5 with just a little more fuss than would normally be required.
Why no official upgrade? Information Week gets a statement from Google noting low installation numbers for Picasa in Linux. That said, Picasa is definitely one of the most developed photo managers available for any system, so let’s hope Google changes its tune for future releases.
Tags: cli, Google, Information, IO, Linux, ma, Mac, man, Photo, Ubuntu, wind
Memoriser Helps You Get Your Facts Straight [Download]
My Clippings, Windows September 30th, 2009 by System
Automatically pulled from Google Starred
Windows only: Learning through repetition is a proven method for learning new information. Freeware application Memoriser brings that repetition to the screen you stare at all day with a digital approach to flash cards.
Memoriser pops up questions at predetermined intervals while you use your computer to quiz you on whatever you’re trying to memorize. Similar to previously mentioned Mac-only flash card application Genius, Memoriser tracks the questions you get wrong and quizzes you more often on the ones you have the most trouble with.
Questions can be grouped into categories and each question can be individually toggled on or off. The one-at-a-time method of entering questions can be a bit slow, but you can hand-edit the questions.ini file in the Memoriser install folder if you feel comfortable with plain text. Memoriser is freeware, Windows only.
Let us know your best tricks for getting the stuff you need to know into your brain in the comments.
Easily restore Windows services to default settings with a web app
My Clippings, Windows September 30th, 2009 by System
Automatically pulled from Google Starred
Filed under: Utilities, Windows, Web services
Services in particular can be a big pain to reset, simply because of how many their are. Fortunately, there’s an incredibly handy web app which makes the process a whole lot easier.
Serviceseditor.com supports Windows XP, Vista, and Windows 7. Click the appropriate version, and you’re presented with a comprehensive list of radio buttons covering all the built-in services. Scroll through the list and toggle any values you don’t want set to the default Microsoft settings and press the submit button. You’ll receive a .reg file which you can then merge with the Windows registry.
It’s quite a bit faster than clicking through services.msc manually to get things back to normal and (obviously) doesn’t even require an install. Slick!
Easily restore Windows services to default settings with a web app originally appeared on Download Squad on Mon, 28 Sep 2009 09:00:00 EST. Please see our terms for use of feeds.
Read | Permalink | Email this | Comments








Sponsored Topics:
Windows XP – Microsoft Windows – Microsoft – Windows 7 – Download Squad
Tags: cli, email, Google, Inc., IO, ma, man, Microsoft, Monkey, php, Vista, wind, XP
Matt’s System Helper Outer simplifies common Windows admin tinkering
My Clippings, Windows September 30th, 2009 by System
Automatically pulled from Google Starred
Filed under: Utilities, Windows, Freeware
Sure, I’ve launched most of these commands from the run dialog so many times that I have them memorized — but an app like Helper-Outer still comes in handy for me. It’s much easier to talk my staff through clicking a couple buttons in the network panel than walking them through opening a command prompt.
And it’s helpful when a part-time tech with less experience is helping me out. Hey, not everyone is as familiar with commands like compmgmt.msc. Helper-Outer makes these tasks – things like starting and stopping the print spooler and Windows Update services, finding an IP via IPconfing, performing a DNS flush – quick and easy.
If Helper-Outer looks like it can make your life a little easier, grab it from Freeware Files – the author’s download link isn’t working at the moment. The app runs on Windows 2000+, though you may need to right-click and run as admin on Vista and Windows 7.
Matt’s System Helper Outer simplifies common Windows admin tinkering originally appeared on Download Squad on Tue, 29 Sep 2009 11:00:00 EST. Please see our terms for use of feeds.
Read | Permalink | Email this | Comments








Sponsored Topics:
Windows 7 – Microsoft Windows – Windows Vista – Download Squad – Windows Update
Tags: cli, email, Google, Inc., IO, ma, Mac, man, Microsoft, php, quick, Vista, wind, XP
Device Remover is like Device Manager on double steroids
My Clippings, Windows September 30th, 2009 by System
Automatically pulled from Google Starred
Filed under: Utilities, Windows, Freeware
This is no sissy-boy device tree. Five tabs present you with a tree view, list view, drivers and services, list of drivers in memory, and active system processes and handles. You can also export or print a full list of your devices and search for a specific device or driver.
On the Device Remover tools menu, you’ll find quick links to your control panel applets, relevant registry hives, shutdown options, system restore functions, MMC snap-ins, and macro that automatically removes all your data from every one of Google’s web apps. Ok, the last one not so much. But there’s a hell of a lot packed into that menu.
It’s also good at backing up drivers and cleanup duties, and it’s available as a portable app (though the .NET framework must be installed).
Pictures do this app more justice than words, so have a look at the author’s screenshot gallery on Live.com. Device Remover works on Windows XP, Vista, and 7.
Device Remover is like Device Manager on double steroids originally appeared on Download Squad on Wed, 30 Sep 2009 17:00:00 EST. Please see our terms for use of feeds.
Read | Permalink | Email this | Comments








Sponsored Topics:
Windows XP – Microsoft Windows – Windows Vista – Google – Download Squad
Tags: Apple, cli, email, Google, Inc., IO, ma, Mac, man, Microsoft, php, quick, Remove, Vista, wind, XP

