Sysinternals Homepage
Forum Home Forum Home > Windows Discussions > Troubleshooting
  New Posts New Posts RSS Feed: Newsid on x64 creates VSS problem
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Newsid on x64 creates VSS problem

 Post Reply Post Reply Page  12>
Author
Message Reverse Sort Order
typhoon43 View Drop Down
Newbie
Newbie


Joined: 15 April 2008
Location: Afghanistan
Online Status: Offline
Posts: 2
Post Options Post Options   Quote typhoon43 Quote  Post ReplyReply Direct Link To This Post Topic: Newsid on x64 creates VSS problem
    Posted: 15 April 2008 at 1:49pm
THE POST ABOVE IS FOR 32-BIT BOXES. SEE BELOW FOR 64-BIT

**WORKAROUND FOUND**

This worked on our "NewSidded" 64-bit ESX boxes. Good luck! Be SURE to check the directory paths. That was our problem the whole time. We kept registering the system32 folder dlls.

*********************************

            1. Stop the Microsoft Shadow Copy Provider & Volume Shadow Copy Service

 

2. Export the contents of the HKLM\Software\Microsoft\EventSystem key to a .reg file (as a backup).

3. Delete the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key. (Just delete the Subscriptions subkey; leave the EventClasses key.)

4. Restart the server.

5. Run the "VSSADMIN LIST WRITERS" command.

This causes the VSS entries in the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key to be rebuilt when the writers initialize.

 

If that does not resolve it try this:

 

Check the Registry - HKEY_CLASSES_ROOT\CLSID\{FAF53CC4-BD73-4E36-83F1-2B23F46E513E}\InProcServer32
- check right pane for (Default)
- ensure this is pointing to the correct location à %systemroot%\system32\ES.DLL

 

Try launching each of these consoles:

 

- perfmon /wmi
- msinfo32
- wmimgmt.msc

 

If the above works out without any issues, please run these commands on the server:

 

Net stop vss

Net stop swprv


regsvr32.exe /i %windir%\system32\eventcls.dll

regsvr32.exe /i %windir%\system32\swprv.dll

regsvr32.exe %windir%\system32\vssui.dll

regsvr32.exe %windir%\SysWOW64\vss_ps.dll

regsvr32.exe %windir%\SysWOW64\msxml.dll

regsvr32.exe %windir%\SysWOW64\msxml2.dll

regsvr32.exe %windir%\SysWOW64\msxml3.dll

regsvr32.exe %windir%\SysWOW64\msxml4.dll

regsvr32.exe %windir%\SysWOW64\ole32.dll

regsvr32.exe %windir%\SysWOW64\oleaut32.dll

regsvr32.exe %windir%\SysWOW64\es.dll

regsvr32.exe %windir%\SysWOW64\comsvcs.dll

vssvc /register

net start swprv

net start vss

**********************************************



Edited by typhoon43 - 15 April 2008 at 1:51pm
I need Beer
Back to Top
Esa04 View Drop Down
Newbie
Newbie


Joined: 22 February 2008
Online Status: Offline
Posts: 6
Post Options Post Options   Quote Esa04 Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2008 at 1:29pm
Yes, the workaround:
 
 1. Stop the Microsoft Shadow Copy Provider & Volume Shadow Copy Service

 

2. Export the contents of the HKLM\Software\Microsoft\EventSystem key to a .reg file (as a backup).

3. Delete the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key. (Just delete the Subscriptions subkey; leave the EventClasses key.)

4. Restart the server.

5. Run the "VSSADMIN LIST WRITERS" command.

This causes the VSS entries in the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key to be rebuilt when the writers initialize.

 

If that does not resolve it try this:

 

Check the Registry - HKEY_CLASSES_ROOT\CLSID\{FAF53CC4-BD73-4E36-83F1-2B23F46E513E}\InProcServer32
- check right pane for (Default)
- ensure this is pointing to the correct location
à %systemroot%\system32\ES.DLL

 

Try launching each of these consoles:

 

- perfmon /wmi
- msinfo32
- wmimgmt.msc

 

If the above works out without any issues, please run these commands on the server:

 

Net stop vss

Net stop swprv

regsvr32.exe /i %windir%\system32\eventcls.dll

regsvr32.exe /i %windir%\system32\swprv.dll

regsvr32.exe %windir%\system32\vssui.dll

regsvr32.exe %windir%\system32\vss_ps.dll

regsvr32.exe %windir%\system32\msxml.dll

regsvr32.exe %windir%\system32\msxml2.dll

regsvr32.exe %windir%\system32\msxml3.dll

regsvr32.exe %windir%\system32\msxml4.dll

regsvr32.exe %windir%\system32\ole32.dll

regsvr32.exe %windir%\system32\oleaut32.dll

regsvr32.exe %windir%\system32\es.dll

regsvr32.exe %windir%\system32\comsvcs.dll

vssvc /register

net start swprv

net start vss

 

there is a microsoft article about this too !

and never use newsid again on x64... use sysprep for example
Back to Top
typhoon43 View Drop Down
Newbie
Newbie


Joined: 15 April 2008
Location: Afghanistan
Online Status: Offline
Posts: 2
Post Options Post Options   Quote typhoon43 Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2008 at 12:53pm
We are having the same problem on our ESX Cluster. Only affecting the 64-bit images. Has ANYONE found a fix for this yet?
 
We most defintiely ran NewSID on the machines.
 
HALP! Cry
I need Beer
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2008 at 3:15am
Have not used Newsid.  But I wonder if the presence of [HKCU\Software\Sysinternals\NewSID\EulaAccepted] might be an indication that someone has at least attempted to run Newsid on a system?
Daily affirmation:
net helpmsg 4006
Back to Top
Esa04 View Drop Down
Newbie
Newbie


Joined: 22 February 2008
Online Status: Offline
Posts: 6
Post Options Post Options   Quote Esa04 Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2008 at 11:04pm
Originally posted by dclanes

Hello,
Is there anyway to verify whether or not "newsid" was run on a machine.
Thanks!
DCL
 
As far as i know there is none on 32 machines. Also not stated by the creators of newsid.
On x64 machines the VSS problems can indicate that newsid has been used !
Back to Top
dclanes View Drop Down
Newbie
Newbie


Joined: 04 March 2008
Location: United States
Online Status: Offline
Posts: 1
Post Options Post Options   Quote dclanes Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2008 at 5:19pm
Hello,
Is there anyway to verify whether or not "newsid" was run on a machine.
Thanks!
DCL
Back to Top
Karlchen View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 June 2005
Location: Germany
Online Status: Offline
Posts: 5121
Post Options Post Options   Quote Karlchen Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2008 at 3:02am
Hi, Esa04.

I assume the technical problem is solely caused by the conflict 32bit programme vs 64bit Windows.

The fact that Microsoft has never supported NewSID, not even on the platforms which Sysinternals created it for, is a different issue and not strictly a techical isue.

Karl


Edited by Karlchen - 01 March 2008 at 3:03am
Back to Top
Esa04 View Drop Down
Newbie
Newbie


Joined: 22 February 2008
Online Status: Offline
Posts: 6
Post Options Post Options   Quote Esa04 Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2008 at 11:43pm
Karl,
 
Thx for the response and touche ! Ouch
I agree with you on this although i always got the impression newsid was commonly used to replace sysprep around the world to ease the use of cloning. I realised that is not supported by Microsoft when i troubleshooted this problem.
The problem with sysprep is that it's more work to install,every OS and even SP needs a different version, maybe that is the reason why sysprep is supported and newsid is not.
 
I am going to take action to prehibit the use of newsid for all cloning purposes.
 
Do you, or anyone else, know if there are any other issues known with newsid (x86 or x64) that could cause problems in the future for my current cloned machines.
 
 
EJ
 
 


Edited by Esa04 - 29 February 2008 at 11:45pm
Back to Top
Karlchen View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 June 2005
Location: Germany
Online Status: Offline
Posts: 5121
Post Options Post Options   Quote Karlchen Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2008 at 4:42pm
Hi, Esa04.
Originally posted by Esa04

i find it odd that noone has experience with this issue !

Well, I am not that amazed.

Reasons:

The NewSID webpage states:
Regarding SIDs, Microsoft does not support images that are prepared using NewSID, we only support images that are prepared using SysPrep. Microsoft has not tested NewSID for all deployment cloning options.

It also states
NewSID is a program we developed that changes a computer's SID. It is free and is a Win32 program, meaning that it can easily be run on systems that have been previously cloned. NewSID works on Windows NT 4, Windows 2000, Windows XP and Windows .NET Server.
A win32 programme may simply be not able to perform the required steps on 64bit Windows which NewSid may execute successfully on the listed 32bit Windows platforms.

So in our company it never occurred to us to try out if NewSID worked on Win2003 64bit.

Karl


Edited by Karlchen - 01 March 2008 at 3:00am
Back to Top
Esa04 View Drop Down
Newbie
Newbie


Joined: 22 February 2008
Online Status: Offline
Posts: 6
Post Options Post Options   Quote Esa04 Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2008 at 4:52am
i find it odd that noone has experience with this issue !
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down