Vista unattended problems SPTD and deleting shortcuts
#1
Posted 15 December 2007 - 03:37 PM
1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?
if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.
2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?
DEL "%AllUsersProfile%\Desktop\*.lnk"
DEL "%UserProfile%\Desktop\*.lnk"
after running the commands above there are still shortcuts remaning locating in c:\user\public\desktop
what should i type to remove these shortcuts?
thx for the help
#2
Posted 15 December 2007 - 07:03 PM
exhaler, on Dec 15 2007, 10:37 PM, said:
1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?
if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.
2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?
DEL "%AllUsersProfile%\Desktop\*.lnk"
DEL "%UserProfile%\Desktop\*.lnk"
after running the commands above there are still shortcuts remaning locating in c:\user\public\desktop
what should i type to remove these shortcuts?
thx for the help
1: yes you can
With setupcomplete.cmd or with autounattend.xml
2:
DEL "%public%\Desktop\*.lnk"
DEL "%UserProfile%\Desktop\*.lnk"
Next time search first, things like this are discussed before.
This post has been edited by sp00f: 15 December 2007 - 07:05 PM
#3
Posted 16 December 2007 - 11:52 AM
installing SPTD using setupcomplete.cmd works, but it needs a restart to finish completely so i can install daemon tools. i want it to be installed during windows setup not after setup finishes, or find a way to make WPI work after a reboot.
also i'm trieding to delete the temp folder using this command
DEL %TEMP%
but it requires y/n answer
tried /S /Q but it doesn't work
This post has been edited by exhaler: 16 December 2007 - 12:13 PM
#4
Posted 17 December 2007 - 03:51 PM
search to know how to do it.
#5
Posted 18 December 2007 - 04:02 AM
#6
Posted 19 December 2007 - 09:17 PM
sp00f, on Dec 16 2007, 02:03 AM, said:
exhaler, on Dec 15 2007, 10:37 PM, said:
1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?
if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.
2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?
DEL "%AllUsersProfile%\Desktop\*.lnk"
DEL "%UserProfile%\Desktop\*.lnk"
after running the commands above there are still shortcuts remaning locating in c:\user\public\desktop
what should i type to remove these shortcuts?
thx for the help
1: yes you can
With setupcomplete.cmd or with autounattend.xml
2:
DEL "%public%\Desktop\*.lnk"
DEL "%UserProfile%\Desktop\*.lnk"
Next time search first, things like this are discussed before.
works fine here during setupcomplete
Vista reboots at that point anyway , if nit you can add a line to your cmd file
Shutdown.exe /r
For more options : shutdown.exe /?
If you want it installed from the XML :
http://www.msfn.org/board/index.php?showto...048&hl=sptd
This post has been edited by sp00f: 19 December 2007 - 09:20 PM
#7
Posted 20 December 2007 - 05:02 AM
<RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>3</Order> <Path>cmd /c %AppsRoot%\Install\SPTD\SPTD1.53 add /q</Path> <WillReboot>Always</WillReboot> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>60</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path> </RunSynchronousCommand> </RunSynchronous>
it restarts after installation, however it restarts about 5 times before WPI shows up and begins installing my programs
- ← How to change the colour of windows vista
- Unattended Windows Vista/Server 2008
- howto Define WSUS server for Dynamic Update? →



Help
Back to top









