Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Syprep/Image X procedure 'not recognised command in cmd prompt'

07 Aug 2012   #51
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by hungryhorse View Post
Presumably the setup folder is the one you want? Or something in it?

Here is another scrn shot of the setup folder contents, with the right pane, showing files.
They are not files, but settings!
click on tempkey\setup then in the right pane double click on a name and change its value. then press enter


"CmdLine"="" So make it empty

These values have to be changed to 0

"RestartSetup"=dword:00000000
"SetupType"=dword:00000000
"SystemSetupInProgress"=dword:00000000
"SetupPhase"=dword:00000000
"OOBEInProgress"=dword:00000000

Post screenshot afterwards


My System SpecsSystem Spec
.
07 Aug 2012   #52
hungryhorse

Windows 7 Ultimate x64
 
 

Kaktussoft,

Here is the screen shot of the amended values (i selected modify on each one and changed the values as you asked)

On the cmdline one, i just deleted the value completely.

I haven't saved anything as yet, I'm waiting for you next steps.

By the way there was something you said in 49 above:

Post c:\windows\system32\tempkey.reg
Not d:\windows\system32\tempkey.reg

This, I think is the wrong way round. You surely cannot be intersted in c: tempkey because c: is windows 8. So if you wanted me to post anything it would be the d: tempkey, which is what is in the screen shots.


Attached Thumbnails
Syprep/Image X procedure 'not recognised command in cmd prompt'-screenshot-10-.png  
My System SpecsSystem Spec
07 Aug 2012   #53
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by hungryhorse View Post
Kaktussoft,

Here is the screen shot of the amended values (i selected modify on each one and changed the values as you asked)

On the cmdline one, i just deleted the value completely.

I haven't saved anything as yet, I'm waiting for you next steps.

By the way there was something you said in 49 above:

Post c:\windows\system32\tempkey.reg
Not d:\windows\system32\tempkey.reg

This, I think is the wrong way round. You surely cannot be intersted in c: tempkey because c: is windows 8. So if you wanted me to post anything it would be the d: tempkey, which is what is in the screen shots.
Delete SetupShutdownRequired (by right clicking on it->delete. Or maybe better just rename the key so it's not used. Tell me when done

It sure is c:\windows\system32\tempkey.reg
That's the place where you saved the part of registry (win7 HKLM/system registry mounted on win8 HKLM\tempkey). tempkey.reg is there? I don't need it anymore
My System SpecsSystem Spec
.

07 Aug 2012   #54
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

When finished with SetupShutdownRequired
  • close regedit
  • in elevated command prompt: reg unload HKLM\tempkey
Succeeded succesfully?
My System SpecsSystem Spec
07 Aug 2012   #55
hungryhorse

Windows 7 Ultimate x64
 
 

Yes. Sure did. Here is the screen shot. I hope it's oK I just deleted the systemshutdownrequired entry.

Still not sure what's going on with the c: d: thing.

As long as you know:

D: Original windows 7 that I am trying to recover that I stupidly syspreped and failed
C: Windows 8, loaded after windows 7, just as an isolated evaluation copy to see what it was like


Attached Thumbnails
Syprep/Image X procedure 'not recognised command in cmd prompt'-screenshot-11-.png  
My System SpecsSystem Spec
07 Aug 2012   #56
hungryhorse

Windows 7 Ultimate x64
 
 

I think this basic snapshot of windows explorer Computer window, because you can see the windows 8 icon, there is the local disk, the recovery cd, and so on.


Attached Thumbnails
Syprep/Image X procedure 'not recognised command in cmd prompt'-screenshot-12-.png  
My System SpecsSystem Spec
07 Aug 2012   #57
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

reg export HKLM\tempkey\setup tempkey.reg
means
export registry key HKLM\tempkey\setup to file tempkey.reg (can be normally editted using noted)
I didn't let you do this
reg export HKLM\tempkey\setup d:\somefolder\subfolder\tempkey.reg
I did let you specify no folder at all! So tempkey.reg will be made in current default folder.
And that's c:\windows\system32 . You see that on screenshot all the time!!
My System SpecsSystem Spec
07 Aug 2012   #58
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Now win7 thinks no setup, sysprep etc is in progress ... I hope it will boot(?) Try it.
It will hopefully boot. Even with a lot of errors... I don't care. If it boots we gonna try an upgrade install. So sort of repair install. That can only be done from within win7.

Does it boot to win7? If not... what error?
My System SpecsSystem Spec
07 Aug 2012   #59
hungryhorse

Windows 7 Ultimate x64
 
 

Well one thing is for sure Kaktussoft, you certainly know what you are doing

I restarted, selected windows 7 (recover), the only one available to me, and sure enough I was, shortly offered a screen where I could select safemode, or something else, something else, or start windows normally.

i hope I did the right thing, I booted in safe mood. No errors. It is my windows 7 desptop, roughly speaking, the task bar isn't the same (I don't have media player in my task bar for ex), it's all in big icons, because it's safe mode, but generally speaking, I'm pretty sure that is my system, before I syspreped.

Well done Kaktussoft, that is fantastic work, and a hell of a lot of patience. I thought I knew one or two things, but with you on the scene, I'm like an old grandad.

Could you make further suggestions as to how we can repair this fully?

Richard
p.s Can't post screen shot, using my friends computer to send this.
My System SpecsSystem Spec
07 Aug 2012   #60
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by hungryhorse View Post
Well one thing is for sure Kaktussoft, you certainly know what you are doing

I restarted, selected windows 7 (recover), the only one available to me, and sure enough I was, shortly offered a screen where I could select safemode, or something else, something else, or start windows normally.

i hope I did the right thing, I booted in safe mood. No errors. It is my windows 7 desptop, roughly speaking, the task bar isn't the same (I don't have media player in my task bar for ex), it's all in big icons, because it's safe mode, but generally speaking, I'm pretty sure that is my system, before I syspreped.

Well done Kaktussoft, that is fantastic work, and a hell of a lot of patience. I thought I knew one or two things, but with you on the scene, I'm like an old grandad.

Could you make further suggestions as to how we can repair this fully?

Richard
p.s Can't post screen shot, using my friends computer to send this.
Geat so far!! But can you start win7 normally?
My System SpecsSystem Spec
Reply

 Syprep/Image X procedure 'not recognised command in cmd prompt'




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Acronis True Image - 2011: Is my procedure correct?
Briefly, 1) I first purchased Acronis 2010, updated it to 2011 - but have never used it. 2) I always partition my HDD's - all 30 TB of HDD's that I use for work. 3) My OS and Programs (only) are on a 256 GB SSD. 4) All my work on the traditional HDD's is backed up with Allway Sync and...
Backup and Restore
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Can someone help simplify this Command Prompt procedure for me?
It's pretty basic instructions and I understand how to run Command Prompt, but at step 5, I don't know how to execute the file so that I can apply the statements to the program. The link is: Perfect World International Forum - View Single Post - READ HERE FIRST for Tech Support Issues! Any...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App