Group Policy Not Applying in XP Mode

frodolives

New member
I'm running Windows 7 Ultimate x64 on my laptop and have installed Windows Virtual XP. I have joined the XP virtual machine to our domain successfully and am able to connect to server shares and our Exchange Server. However, Group Policy is not applying to the virtual machine, neither user nor computer policies. When I do "gpresult" I get the following message:

INFO: The policy object does not exist.

I have verified that the DNS server entries are correct on the VM. The VM's logon server is our domain controller. I have tried running "gpupdate /force" but that doesn't work.

I appreciate any advice or tips anyone might have.

Thanks!
 

My Computer

OS
Windows 7
Springboard Series - The Resource for Windows Desktop IT Professionals : Understanding XP Mode

Excerpt:
Jeremy Chapman: From the application compatibility perspective, the best thing to do is to get applications that run natively without any virtualization aids, recoding, compatibility fixes or compatibility modes needed. If you own the code and can recode the application, then do that. If you can’t recode a line-of-business application or are not dependent on support for a third party application, you can try compatibility fixes – or “shims” – to remediate the application. Finally, when all these options aren’t possible, then look into legacy operating system virtualization. If you have exhausted all other options for application remediation and intend on using Windows XP Mode, then I’d recommend following all the best practices in the Windows XP Security Compliance Management Toolkit to secure the virtual environment and manage configuration with Group Policy and desired configuration management in System Center Configuration Manager.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
  • Like
Reactions: Lee
johngalt,

Thanks for posting the Management Toolkit - Downloaded. :)
 

My Computer

Computer Manufacturer/Model Number
HP Pavilion a4302f
OS
Win 7 Pro x64, VM Win XP, Win7 Pro Sandbox, Kubuntu 11
CPU
AMD Athlon(tm) II X4 640 @ 3.0 Gbz
Memory
12GB 1066MHz DDR3 SDRAM - 2x4GB, 2x2GB
Graphics Card(s)
ATI Radeon HD 4350 HD Graphics/Audio with 512MB
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
1. Dell 23" SP2307, 2. Mitsublishi 40" HDTV, Hannspree 25"
Screen Resolution
1. 2048x1152, 2. 1920-1080, 3. 1920x1200
Hard Drives
Int: 1 120 Gig SSD i
1 - 2.5" 500 USB External HDD
1 -1 Tb USB External HDD
Case
Mid Tower
Cooling
Standard Fans - 5 fans (very quiet)
Keyboard
Microsoft Wireless 2000
Mouse
Microsoft Wireless Mouse 5000
Internet Speed
10 Mbit (realistically 500 Kbit - 1.2 Mbit)
Other Info
Speakers - Bose Desktop (Excellent Sound)
1 external CD|DVD\Blue-ray Recorders/Players (Sony)
Thanks johngalt for the reply.

I tried gpupdate /force and got the following:

Refreshing Policy...
User Policy Refresh has completed.
Computer Policy Refresh has completed.

When it was done, it didn't force a restart or logoff, so I went to the Actions menu of XP Mode and chose Restart. After logging back in, I still get the same message when doing gpresult:

INFO: The policy object does not exist.

We have other virtual PC's in our organization where Group Policy is working fine, though none running Windows 7 as the host machine.

Thanks.
 

My Computer

OS
Windows 7
Hmmm - That is weird.

I don't have a machine to run as a DC right now so I cannot test this (and they won't let me play with GPOs at the Uni - go figure) so I am not sure where to go with this one next. Did you try using the /boot to see if it would auto run gpupdate on the reboot? perhaps if you can get it to update first thing on booting XP the policy may stick until the next boot, giving you a possible workaround to add that as a login script....
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
I'm having exactly the same problem on Windows 7 enterprize with MS Virtual PC. I'm positive it's not an AD problem as I set up an identical (except for the computer object) image using VMWare and have no problems.
 

My Computer

OS
Take your pick
The reason the GPO isn't working is because you are using NAT (default in XP Mode) and the XP Mode object does not have a unique IP. In bridged mode, the GPOs should work fine.

-Jeremy
 

My Computer

OS
Windows 7
Back
Top