Script to change logon wallpaper on windows XP and 7 ...

Hi there,
We have both windows XP and windows 7 in our organization and just wondering how to change the logon wallpaper via script.
We're in a subdomain of a larger network and they haven't made a move to Server 2008 ... so group policy is not possible.
what we need is a script to auto-detect whether it's a windows XP or 7, then apply the necessary registry settings.
I found the way to run a script / modify registry settings to change the logon wallpaper by modifying the registry settings manually and then export it to a network location (edit it as necessary), and then run the script --> regedit.exe /s filename.reg
- Windows XP
    http://www.tweaklibrary.com/System/Startup-and-Shutdown/60/Set-the-log-on-tile-screen-wallpaper/10626/
- Windows 7
    http://www.techspot.com/guides/224-change-logon-screen-windows7/
We can't apply both settings at the same time since since the regKey is different between xp and 7.
help?

Hey
Here is an updated version, checks if the image file exists rather than assuming it does and removes a the MsgBox i was using for testing. Let me know if you have any trouble with it.
Cheers Matt :)
'Script Name : SetLogonWallPaper.vbs
'Author : Matthew Beattie
'Created : 09/06/10
'Description : This script sets the Logon WallPaper based on the operating system type.
'Initialization Section. Define and Create Global Variables.
Option Explicit
Dim objFSO, wshShell, systemPath, fileSpec
On Error Resume Next
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set wshShell = CreateObject("WScript.Shell")
systemPath = wshShell.ExpandEnvironmentStrings("%WinDir%")
ProcessScript
If Err.Number <> 0 Then
WScript.Quit
End If
On Error Goto 0
'Name : ProcessScript -> Primary Function that controls all other script processing.
'Parameters : None ->
'Return : None ->
Function ProcessScript
Dim regKey, version, systemType
regKey = "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProductName"
version = ReadRegistry(regKey)
'Set variable's based on the operating system version that has been read from the registry.
Select Case version
Case "Windows 7 Ultimate"
systemType = 0
fileSpec = systemPath & "\oobe\Info\Backgrounds\backgroundDefault.jpg"
Case "Microsoft Windows XP"
systemType = 1
fileSpec = systemPath & "\Web\Wallpaper\Bliss.bmp"
Case Else
Exit Function
End Select
'Ensure the image file exists before attempting to configure the Logon Wallpaper.
If Not objFSO.FileExists(fileSpec) Then
Exit Function
End If
'Set the Logon Wallpaper based on the operating system type.
If Not SetLogonWallPaper(systemType) Then
Exit Function
End If
End Function
'Name : ReadRegistry -> Read the value of a registry key or value.
'Parameters : key -> Name of the key (ending in "\") or value to read.
'Return : ReadRegistry -> Value of key or value read from the local registry (blank is not found).
Function ReadRegistry(ByVal key)
Dim result
If StrComp(Left(key, 4), "HKU\", vbTextCompare) = 0 Then
Key = "HKEY_USERS" & Mid(key, 4)
End If
On Error Resume Next
ReadRegistry = WshShell.RegRead(key)
If Err.Number <> 0 Then
ReadRegistry = ""
End If
On Error Goto 0
End Function
'Name : SetLogonWallPaper -> Sets the Logon Wallpaper registry settings based on the operating system type.
'Parameters : systemType -> Integer identifying the operating system type.
'Return : SetLogonWallPaper -> Returns True if the LogonWallPaper registry settings were updated otherwise False.
Function SetLogonWallPaper(systemType)
Dim elements, element, regKey, regValue, regType
SetLogonWallPaper = False
'Set the registry settings to configure based on the systemType integer.
Select Case systemType
Case 0
elements = Array("HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background\OEMBackground,1,REG_DWORD")
Case 1
elements = Array("HKEY_USERS\.Default\Control Panel\Desktop\TileWallpaper,0,REG_SZ", _
"HKEY_USERS\.Default\Control Panel\Desktop\WallpaperStyle,2,REG_SZ", _
"HKEY_USERS\.Default\Control Panel\Desktop\Wallpaper," & fileSpec & ",REG_SZ")
Case Else
Exit Function
End Select
'Split the array elements and configure the registry settings.
For Each element In elements
On Error Resume Next
regKey = Split(element, ",")(0)
regValue = Split(element, ",")(1)
regType = Split(element, ",")(2)
wshShell.RegWrite regKey, regValue, regType
If Err.Number <> 0 Then
Exit Function
End If
On Error Goto 0
Next
SetLogonWallPaper = True
End Function

Similar Messages

  • User Logon Name (pre-Windows 2000) and Domain Name Don't have the same Value

    Hi
    is it possible to have User Logon Name (pre-Windows 2000) and Domain Name with different value?
    Exemple:
    domain name domain1.com
    and User Logon Name (pre-Windows 2000) Domain2\user

    If you have trust in place, then also you can use trusted domain name to login from trustee domain. Also, UPN suffix can be added.
    http://technet.microsoft.com/en-us/library/cc773178%28v=ws.10%29.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • I have photoshop elements3 istalled and have ltos of pictures. Recently changed computer that has windows 8 and problems with some of my photos in that some of these have voicce comments that now cannot connect. Same applies to some 'movie pictures

    currently have elements 3 and recently changed computer that has windows 8 installed. my store of pictures - some appear to be 'corrupted' in that I can see a icon  for the picture but no true picture. Also some of the pictures have a my voice message that now is not available. Also, some are movie pictures that again an icon but nothing else

    If you could remove the card without destroying the laptop, you would then be able to see if the integrated Intel chip works
    Do you currently have the Intel chip turned off in the BIOS... or are you using the switchable graphics feature?
    If you ARE using switchable graphics, that MAY be your problem
    Dual video laptop problems... ignore this if you have the Intel chip turned off in BIOS
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2

  • Script to change the priorty of all rules and monitors in a Management Pack

    Script to change the priority and severity  of all rules and monitors in a Management Pack in an override MP .We are deploying an MP in production and don't want the helpdesk to take any action on any alerts, so want to set all of them as informational.Once
    they are reviewed then we will delete that override mp
    Can some one help me with a script
     

    Is this MP sealed?  Doesn't really matter..  Unseal the MP if it is sealed.  Now you have access to the RAW XML.  Alert severity and priority have xml tags.  You should be able to do a search and replace and change all the various
    levels (0-3 or whatever they are) to the levels and priority you want.
    Then you can seal the mp with your own key, or just roll it into prod as an unsealed MP.
    This seems, to me, like the quickest and easiest way to make all of these changes at once.  To bulk override everything, not even sure it's still around or even works, there was a tool called Override Explorer, and you could select multiple monitors/events
    and create overrides.  I can't remember very much about the tool because we didn't use it much, but I think it did this with live data, meaning it connected to your management server, and you made the changes in real time.  
    Of course you wouldn't want to do this in production, so do it in a lab, then export the override mp and put it in prod.
    There is probably some snazzy way to do this with PoSh, but I am not aware of any atm.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • Changing network password...There are currently no logon servers available to service the logon request in Windows 8 and 8.1 Enterprise

    We currently are running Windows 7 in our enterprise environment. Everything works as expected when the user tries to
    change their network password via crtl+alt+del, change a password. We are now testing and trying to deploy Windows 8.1 to a test group and are running into an issue when any AD user tries to change their network password. The user can logon to the
    PC just fine when the PC is on the domain, however as soon as they go to change their password they are getting the error "There are currently no logon servers available to service the logon request". The end result is that the user can not change
    their password. We tried this via connected to the dock with a network cable, on corporate wireless, with a Windows 8.1 machine completely patched over with all Microsoft patches, and a Windows 8.1 machine that is not patched and are running into the same
    issue. Has anyone ran into this? Is there something that has to be changed on the infrastructure side?

    Hi,
    Please check the following KB:
    Error message when you try to log on to a Windows Server 2008-based RODC: "There are currently no logon servers available to service the logon request"
    http://support.microsoft.com/kb/949048
    To configure the Password Replication Policy for an RODC, a member of the Domain Admins group is required.
    By default, RODC's do not cache any user or computer passwords, neither a user or computer will be able to authenticate. You can however specifiy that their passwords be cached either by including a group or specific user in the Password Replication Policy
    on the RODC at the remote site.
    RODC - Password Replication Policy and Password Cache Management
    http://blogs.dirteam.com/blogs/paulbergson/archive/2010/09/22/rodc-password-replication-group-management.aspx
    Password Replication Policy Administration
    http://technet.microsoft.com/en-us/library/cc753470(v=ws.10).aspx
    For further information about the Windows Server side, I suggest you ask Windows Server forum:
    https://social.technet.microsoft.com/Forums/en-US/home?category=windowsserver
    Karen Hu
    TechNet Community Support

  • Change default wallpaper in Windows 7

    I haven't been able to change the default wallpaper (blue thinkpad) on my T500 (Windows 7 Prof) .  I can access "Personalize", but the changes have no effect.  If I try and use the wallpapers at C|Windows|Web|Wallpaper (or use any other jpg), I get a message "This photo can't be set as wallpaper".
    Is there some kind of override on the privileges to set the wallpaper to anything but the default image?

    ... resolution is one thing, looks best when you use the monitor's native setting.
    You can change dpi and Windows supports resolution independence thruout so you can set it to 110% and having everything larger.
    I just wish Mac had it. I thought back when Adobe Postscript Display was a new holy grail we would. Must have been the "adobe" part?
    Can't rely on genius about Winodws seems to be 50/50.

  • Script to change a character in a file and opening it in Numbers

    Hello,
    Is there an easy way with Applescript to replace all the "," with a "; " in a csv file and open it in Numbers ? The best would be to be able to drag/drop the file over an icon in the dock to do that.
    Thank you

    Yes, it's easy to do, but depends on the complexity of the csv file. For instance, if you're sure that the csv is simple (in the sense that commas only appear as delimiters and never occur inside text data), then the following will work. Save it as a script application and then drop your files on it):
    on open csvFiles
              repeat with thisFile in csvFiles
                        set fp to open for access thisFile with write permission
                        set csvText to read fp
                        set csvSplitText to tid of csvText by ","
                        set csvNewText to tid of csvSplitText by ";"
      set eof fp to 0
      write csvNewText to fp
      close access fp
              end repeat
    end open
    on tid of input by delim
      -- handler for text items
              set {oldTID, my text item delimiters} to {my text item delimiters, delim}
              if class of input is list then
                        set output to input as text
              else
                        set output to text items of input
              end if
              set my text item delimiters to oldTID
              return output
    end tid
    If you have a more complx csv format and you have to account for commas that are within text data, then it would help to know more about the structure of the document. I mean, it could be done generically, but I'd rather not fiddle with the code if I don't have to.

  • How to change Virtual Memory in Windows 7 with SSD and 16GB RAM

    I have SSD Samsung 850Pro with OS Windows 7 and have installed physical RAM 16GB.
    In Adobe Help/Optimize performance/Photoshop written :
    " To change Virtual Memory in Windows 7 and Vista, quit all applications and then do the following:
    Choose Start > Control Panel, and double-click System.
    Choose Advanced System Settings in the Tasks list.
    Select the Advanced tab and click Settings in the Performance section.
    Select the Advanced tab and click Change.
    Deselect Automatically Manage Paging File Size For All Drives.
    Click each hard disk letter to show the available space on that drive. Select a hard drive that has three times the amount of your computer’s installed RAM and doesn’t contain a scratch disk.
      Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box. 
    Click Set, and then click OK. Continue to click OK to exit all dialog boxes.
    Restart the computer: If you have applications open, select Restart Later, close your applications, then restart Windows. Otherwise, click Restart Now. "
    Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box.
    I have 16GB RAM
    in the Initial Size box : 16384+300=16684MB
    in the Maximum Size box:16684x3=50052MB
    but in the description of SSD written :
    " In order to address any potential lack of memory capacity, the Windows operating system automatically generates a block of virtual memory (pagefile.sys) on the C: drive.  For example, a Windows® 7 64-bit system with 4 GB of physical memory would generate 4 GB of virtual memory at boot time.
    In the past, before PC Memory (DRAM Modules) were available in high volume, PCs needed to utilize some HDD space to address any memory shortcomings. Today, with PCs featuring 4 GB of memory or more, it is possible to reduce or even eliminate the use of virtual memory.  Additionally, using expanded physical memory, rather than creating virtual memory on the SSD, has performance and reliability advantages for the entire system.  Some applications may require the use of virtual memory. In this case, please consider your specific application requirements before disabling this feature!!! ”..."SET virtual memory in the Initial Size Box :200MB and in the Maximum Size box: 2048MB"
    what is the right choice ???
    Please Help

    Windows set to default virtual memory : 16348 MB =16GB !
    But SSD program Samsung Magician wants virtual memory between in the Initial Size Box :200MB and in the Maximum Size box: 2048MB or 4096MB. If more than 8GB suggests that SSD will work slowly.
    Perhaps the description in Adobe execution Help / Optimize / Photoshop is not correct or ?

  • Powershell Script to change the default user Account picture for all users in windows 7 and 8

    Hello,
    Can some sone help me with PS script to change user account pictures of all user account in windows 7 and windows 8 ?
    I will deploy this through MDT TS as Custom TS after OSD.
    Shailendra
    Shailendra Dev

    Hello,
    Can some sone help me with PS script to change user account pictures of all user account in windows 7 and windows 8 ?
    I will deploy this through MDT TS as Custom TS after OSD.
    Shailendra
    Shailendra Dev
    The default user account picture is stored here.
    C:\programdata\Microsoft\User Account Pictures\user.bmp
    It should just be a matter have copying the picture you want to that location and over writing what is there.
    or....
    Computer Configuration\Administrative Templates\Control Panel\User Accounts\Apply the default user logon picture to all users
    You can also configure this by a registry setting;
     [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
      UseDefaultTile = 1
    The picture that you configure, will not be loaded until the user account will actually be created on the pc. Meaning the first time a >new< user will log on to a pc, they will have no picture shown at all using their login screen (this is default
    behavior). Same will occur if you enable the policy don't display last user name. However, once they log in the picture will be shown in the start menu, and if they lock their pc the image will also be shown

  • [ dwm ] How to change the wallpaper and make windows transparent ?

    How do I change the wallpaper and make windows transparent ( ~ 20% ) ?
    Have been Googl'ing for a while now but still have no clue on how to achieve it

    zowki wrote:
    SemiBz wrote:Thank you! And how would I set terminals to be transparent by default ? xcompmgr can be started automatically but transset requires user input
    What terminal do you use? urxvt can set transparency in the Xdefaults file.
    revenant wrote:
    > What terminal do you use? urxvt can set transparency in the Xdefaults file.
    Or, if you don't like fiddling with Xdefaults file, you can simply make urxvt transparent by executing it like "urxvt -tr -sh 20", where the number represents the transparency level. However, this is only pseudo transparency, but I like it better than resource-consuming compositing.
    Will give it a try. I'm not against .Xdefaults - just haven't used it that much and know only the basics ( color schemes )

  • Script to change wallpaper

    I am looking for a way (script or porgram) to change my wallpaper selection based on what my IP is (like home or work) but also change the image randomly every hour or so (still making sure not to show a work image at home or a home image at work). Any one have idea ideas on how to do this?

    Sorry I have never touched applescript before
    in this case you might want to learn a little apple script if you'll be using a script like that. There are probably several ways to do what you want but the following should work.
    paste the following into Script Editor (it's in /Applications/Utilities).
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    property ip_address : ""
    set cur_ip to do shell script "ifconfig |grep inet |tail -1 | awk '{print $2}'"
    if cur_ip is not equal to ip_address then -- check to see if the ip address has changed since last check. if it didn't - do nothing.
    set ip_address to cur_ip
    if ip_address = "home.ip.address" then
    tell application "System Events"
    -- RANDOM ROTATION OF A FOLDER OF IMAGES
    tell current desktop
    set picture rotation to 1 -- (0=off, 1=interval, 2=login, 3=sleep)
    set random order to true
    set pictures folder to file "path:to:home:images:"
    set change interval to 3600.0 -- seconds
    end tell
    end tell
    else if ip_address = "work.ip.address" then
    tell application "System Events"
    -- RANDOM ROTATION OF A FOLDER OF IMAGES
    tell current desktop
    set picture rotation to 1 -- (0=off, 1=interval, 2=login, 3=sleep)
    set random order to true
    set pictures folder to file "path:to:work:images:"
    set change interval to 3600.0 -- seconds
    end tell
    end tell
    end if
    end if
    </pre>
    put the ip addresses of at home and at work in the above, as well as the corect paths to different folders with images. then save the script in your Documents folder. Call it, say, backgrounchanger. Then download [lingon|http://www.tuppis.com/lingon> and use it to make a launch daemon. make it run, say, every minute and execute the following command (enter it on line 2)
    osascript /users/username/documents/backgroundchanger.scpt
    Put your short user name instead of username in the above.
    save the daemon and log out/in to activate it.

  • I just received an Iphone 4 and would like to change the wallpaper to a photo I have on my computer. I have windows XP pro. SP3

    I just received an Iphone 4 and would like to change the wallpaper to a photo I have on my computer. I have windows XP pro. SP3

    Resize or crop the photo to 960 pixels by 640 pixels, then email it to yourself.  Open the email on your phone, tap the attached photo and choose Save to save it to your camera roll.  You can then select the photo from your camera roll to use as your wallpaper (by going to Settings>Wallpapers & Brightness and tapping the wallpaper shown, if using iOS 7).  The wallpaper on the left in settings is your lock screen background, the image on the right is your home screen wallpaper.

  • Create fully automated Outlook profile at user first time logon to the windows

    Hi experts, I do have one scenario and its quite urgent...
    I have one email address, that to be act as a notification email from Outlook.
    The thing is we need to have Outlook fully setup with profile and password when an user log in.
    I have done the prf and plan to have it fired with VB script when user logon(using windows logon startup script function).
    The prf can be successfully fired and its created profile in outlook, however the user credentials logon will be prompted everytime the user log on, and the user will not know the password, except us, email administrator.
    This is carried out in :
    - Azure Windows server 2012
    - Outlook 2013
    - And the user will not access remotely to the server, they will only access to RDP, which we hosted our application.
    (And the mentioned application will need to send some notification email to the users.
    I hope i have not missed out anything. Anyone please shed some light for this.
    Your help is appreciated !

    Hi Melon,
    Thanks for quick reply !
    Yes. I have setup prf file and not able to store any password in it. Our user will have to type in the password in the prompted windows. The thing is we are not exposing the password to the user. In fact, they are not able to view the windows screen as they
    are only connect to RDP application.
    Now we are using Exchange account and soon we will migrate our email server to Office 365.
    VB Script as something below (which i downloaded from online resources) :
    'Name:  
    'CreateOutlookProfile.vbs
    'Author: 
    'Jack (Aka "IT Guy")
    'Purpose: 
    'This script searches under HKCU in the registry for an Outlook profile 
    'with the specified name. If the profile is present, the script terminates. 
    'If a matching profile is not found, the script launches Outlook with the
    '/importprf switch, and imports a custom .prf file from the path specified
    'to create the profile.
    'Prereqs: 
    'You must first create a .prf file with the custom settings required for
    'your environment using either the Custom Installation Wizard included 
    'in the Office XP/2003 Resource Kit Tools, or the Office Customization
    'Tool (OCT) included with volume-licensed editions of Office 2007/2010.
    'In Many environments, Office 2003 is the lowest common denominator, so prf
    'files created with the 2003 CIW should be used, to ensure compatibility
    'with all Outlook clients. (XP/2003 prf files are compatible with 2007/2010)
    'License:
    'You are free to use this code for personal or commercial purposes. No 
    'attribution is required, though it is always appreciated! The only thing
    'I ask is that you do not re-post this on another website, but rather post
    'a link to my blog (http://AdmiNuggets.blogspot.com) instead. Furthermore, 
    'I offer no warranty or guarantee of functionality with this script, meaning 
    'that you are responsible for any negative or unintended effects it may have 
    'on the environment in which it is executed. DO NOT USE THIS SCRIPT if you do 
    'not agree to realease me (the author) from all liability associated with its use. 
    'Thanks!
    '*******SPECIFY THE PROFILE NAME TO BE USED, AND PATH TO YOUR CUSTOM PRF BELOW:********
    PRFLocation = "D:\NetLogon\Azure\AzureNotificationOutlook.prf"         
    ProfileName = "AzureNotificationEmail"
    Set WshShell = CreateObject("WScript.Shell")
    HKCUprofile = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & ProfileName & "\"
    If Not ProfileIsPresent Then 
     ImportPRF
    End if
    Cleanup
    Function ProfileIsPresent
     On Error Resume Next
     ProfileKey = WshShell.RegRead(HKCUprofile)
       If Err <> 0 Then
        ProfileIsPresent = False
        Err.Clear
       Else
         ProfileIsPresent = True
        End If
    End Function
    Sub ImportPRF
        WshShell.Run "outlook.exe /embedding /importprf " & PRFLocation, 1, False
    End Sub
    Call CloseOutlook()
    Public Sub CloseOutlook()
     Dim objOutlook
     Set objOutlook = CreateObject("Outlook.Application")
     objOutlook.Quit
    End Sub
    Sub Cleanup
     Set WshShell = Nothing
    End Sub
    Best Regards,
    Zyn Xeng

  • In Firefox 2.0+ you can go to Advanced JavaScript Settings and check a box to allow scripts to change status bar text. How do I do this is Firefox 10.0.1?

    In Firefox 2.0+ you can go to Advanced JavaScript Settings and check a box to allow scripts to change status bar text. How do I do this is Firefox 10.0.1?

    Two items in the Advanced JavaScript window were removed as of the Firefox 4.0 version, but they are still available thru about:config .
    Type '''about:config''' in the URL bar and hit Enter. <br />
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''dom.disable_window_status_change''' = double-click to toggle to '''false''' to allow websites to mess with status text.

  • Windows Activation: An unauthorized change was made to Windows

    I have master image of windows server 2008 r2 giving the error Windows Activation: An unauthorized change was made to Windows
    Report of MGADiag is below
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 50
    Cached Online Validation Code: N/A, hr = 0xc004f012
    Windows Product Key: *****-*****-X63PK-3K798-CPX3Y
    Windows Product Key Hash: OgEPjV3PqwYHwGdIuGHt5s4zUk0=
    Windows Product ID: 00486-001-0001076-84288
    Windows Product ID Type: 1
    Windows License Type: KMS Client
    Windows OS version: 6.1.7601.2.00030112.1.0.010
    ID: {551732E7-DDA3-4106-9134-CA4A4DCBC0EF}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows Server 2008 R2 Enterprise
    Architecture: 0x00000009
    Build lab: 7601.win7sp1_gdr.130708-1532
    TTS Error: T:20141128234401903-
    Validation Diagnostic:
    Resolution Status: N/A
    Vista WgaER Data-->
    ThreatID(s): N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    Windows XP Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    File Exists: No
    Version: N/A, hr = 0x80070002
    WgaTray.exe Signed By: N/A, hr = 0x80070002
    WgaLogon.dll Signed By: N/A, hr = 0x80070002
    OGA Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    OGAExec.exe Signed By: N/A, hr = 0x80070002
    OGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data-->
    Office Status: 100 Genuine
    Microsoft Office Access 2007 - 100 Genuine
    Microsoft Office Project Standard 2007 - 100 Genuine
    Microsoft Office Visio Professional 2007 - 100 Genuine
    OGA Version: N/A, 0x80070002
    Signed By: N/A, hr = 0x80070002
    Office Diagnostics: B4D0AA8B-604-645_B4D0AA8B-604-645_B4D0AA8B-604-645_025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3
    Browser Data-->
    Proxy settings: 10.1.82.175:8080
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default Browser: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: Prompt
    Download unsigned ActiveX controls: Disabled
    Run ActiveX controls and plug-ins: Allowed
    Initialize and script ActiveX controls not marked as safe: Disabled
    Allow scripting of Internet Explorer Webbrowser control: Disabled
    Active scripting: Allowed
    Script ActiveX controls marked as safe for scripting: Allowed
    File Scan Data-->
    File Mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0x80070003]
    Other data-->
    Office Details: <GenuineResults><MachineData><UGUID>{551732E7-DDA3-4106-9134-CA4A4DCBC0EF}</UGUID><Version>1.9.0027.0</Version><OS>6.1.7601.2.00030112.1.0.010</OS><Architecture>x64</Architecture><PKey>*****-*****-*****-*****-CPX3Y</PKey><PID>00486-001-0001076-84288</PID><PIDType>1</PIDType><SID>S-1-5-21-4126316475-437469936-4238727085</SID><SYSTEM><Manufacturer>VMware,
    Inc.</Manufacturer><Model>VMware Virtual Platform</Model></SYSTEM><BIOS><Manufacturer>Phoenix Technologies LTD</Manufacturer><Version>6.00</Version><SMBIOSVersion major="2" minor="4"/><Date>20120702000000.000000+000</Date></BIOS><HWID>9BA73D07018400FE</HWID><UserLCID>0409</UserLCID><SystemLCID>0409</SystemLCID><TimeZone>Pakistan
    Standard Time(GMT+05:00)</TimeZone><iJoin>1</iJoin><SBID><stat>3</stat><msppid></msppid><name></name><model></model></SBID><OEM/><GANotification/></MachineData><Software><Office><Result>100</Result><Products><Product
    GUID="{90120000-0015-0000-0000-0000000FF1CE}"><LegitResult>100</LegitResult><Name>Microsoft Office Access 2007</Name><Ver>12</Ver><Val>3AB862DE70D8D86</Val><Hash>UfpXsJvSSVcPufbDdjd0NK73+ug=</Hash><Pid>89384-707-4159871-63452</Pid><PidType>14</PidType></Product><Product
    GUID="{90120000-003A-0000-0000-0000000FF1CE}"><LegitResult>100</LegitResult><Name>Microsoft Office Project Standard 2007</Name><Ver>12</Ver><Val>3AB862DE70D8D86</Val><Hash>UfpXsJvSSVcPufbDdjd0NK73+ug=</Hash><Pid>89402-707-4159871-63502</Pid><PidType>14</PidType></Product><Product
    GUID="{90120000-0051-0000-0000-0000000FF1CE}"><LegitResult>100</LegitResult><Name>Microsoft Office Visio Professional 2007</Name><Ver>12</Ver><Val>3AB862DE70D8D86</Val><Hash>UfpXsJvSSVcPufbDdjd0NK73+ug=</Hash><Pid>89405-707-4159871-63127</Pid><PidType>14</PidType></Product></Products><Applications><App
    Id="15" Version="12" Result="100"/><App Id="3A" Version="12" Result="100"/><App Id="53" Version="12" Result="100"/></Applications></Office></Software></GenuineResults>
    Spsys.log Content: U1BMRwEAAAAAAQAACAAAAIcoAAAAAAAAYWECAID4//8YmFKLckXOAROJf9ybj7SsIEe8hMh9DOGmzx+KikvYrENLpj1Tw6NdNq37z5Z+ALGe2rehrPpxcQP5Pn7MaWSa6DVAQEBRU4czkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAx4dZsxs/sxaQSZh6DCEuBHAoUSlYqQUo9BRMrU7N26dw8EXR8578ocdhxhwV5DK7AzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgME4l/3JuPtKwgR7yEyH0M4d9+GnpquJHVLTTRuslqaPpS4L+/g658B+ctFNQGfCwWA/k+fsxpZJroNUBAQFFThzOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7Dd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29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAwzkNYn29bLc66sfsN1jWgMM5DWJ9vWy3OurH7DdY1oDDOQ1ifb1stzrqx+w3WNaAw=
    Licensing Data-->
    Software licensing service version: 6.1.7601.17514
    Name: Windows Server(R), ServerEnterprise edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMSCLIENT channel
    Activation ID: 620e2b3d-09e7-42fd-802a-17a13652fe7a
    Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00486-00168-001-000107-03-1033-7601.0000-3332014
    Installation ID: 022225566050856255735015797960696152737732162986145894
    Partial Product Key: CPX3Y
    License Status: Notification
    Notification Reason: 0xC004F056.
    Remaining Windows rearm count: 5
    Trusted time: 11/29/2014 12:20:56 AM
    Please use slmgr.vbs /ato to activate and update KMS client information in order to update values.
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: N/A
    HealthStatus: 0x0000000000000000
    Event Time Stamp: N/A
    ActiveX: Not Registered - 0x80040154
    Admin Service: Not Registered - 0x80040154
    HealthStatus Bitmask Output:
    HWID Data-->
    HWID Hash Current: MAAAAAEAAgABAAEAAgABAAAAAQABAAEAJJROJaQRDFzmt0R8/BTnIWzaY6lla85W
    OEM Activation 1.0 Data-->
    N/A
    OEM Activation 2.0 Data-->
    BIOS valid for OA 2.0: yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID Consistent: N/A
    BIOS Information:
      ACPI Table Name    OEMID Value    OEMTableID Value
      APIC            PTLTD              APIC  
      FACP            INTEL         440BX   
      SRAT            VMWARE        MEMPLUG
      WAET            VMWARE        VMW WAET
      HPET            VMWARE        VMW HPET
      BOOT            PTLTD         $SBFTBL$
      MCFG            PTLTD         $PCITBL$

    I have master image of windows server 2008 r2 giving the error Windows Activation: An unauthorized change was made to Windows
    Report of MGADiag is below
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Windows Product ID Type: 1
    Windows License Type: KMS Client
    Windows OS version: 6.1.7601.2.00030112.1.0.010
    <...>
    File Scan Data-->
    File Mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0x80070003]
    <...>
    Licensing Data-->
    Software licensing service version: 6.1.7601.17514
    Name: Windows Server(R), ServerEnterprise edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMSCLIENT channel
    <...>
    License Status: Notification
    Notification Reason: 0xC004F056.
    Remaining Windows rearm count: 5
    Trusted time: 11/29/2014 12:20:56 AM
    Please use slmgr.vbs /ato to activate and update KMS client information in order to update values.
    Check your event log (on both this KMSclient, and also on your KMShost):
    Look at the events from source = Security-SPP  (SPPSVC)
    http://technet.microsoft.com/en-us/library/ee939272.aspx
    Also, we can see that there seems to be "tampering" occurring with the files for "Windows Activation Technologies":
    C:\Windows\System32\Wat
    You may need to first attempt to re-activate with your KMShost (use slmgr.vbs as advised by the logfile).
    If this does not succeed, you may need to perform integrity checks on the WIndows files:
    eg: SFC /scannow
    eg: CheckSUR http://support.microsoft.com/kb/947821 
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for